GET
/
provisioning
/
organizations
/
{organization_id}
/
connections
/
{connection_id}
/
jobs
curl --request GET \
  --url https://api.leen.dev/v1/provisioning/organizations/{organization_id}/connections/{connection_id}/jobs \
  --header 'X-API-KEY: <api-key>'
{
  "count": 123,
  "total": 123,
  "items": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "status": "<string>",
      "state": {},
      "started_at": "2023-11-07T05:31:56Z",
      "finished_at": "2023-11-07T05:31:56Z",
      "failure_reason": "<string>",
      "type": "<string>",
      "options": {}
    }
  ]
}

Authorizations

X-API-KEY
string
header
required

Headers

X-CONNECTION-INVITE-TOKEN
string | null

Path Parameters

organization_id
string
required
connection_id
string
required

Query Parameters

limit
integer
default:
100
Required range: x > 0
offset
integer
default:
0
Required range: x > 0
id
string | null

Partial or exact match for Connection Job ID

status
string | null

Connection Job Status filter, comma separated

started_at_since
string | null

Datetime filter, only return jobs which started at this datetime or after

Response

200
application/json
Successful Response
count
integer
required

Number of items return in the response

items
object[]
required

List of items returned in the response

total
integer | null

Total number of items that can be returned