Dispatch Connector Ingest Endpoint
POST
/services/connectors/{connector_name}/ingest/
const url = 'https://example.com/services/connectors/example/ingest/';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"credential_id":"example","config":{},"resource_id":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/services/connectors/example/ingest/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "credential_id": "example", "config": {}, "resource_id": "example" }'Dispatch an overlay-owned ingest and return its opaque job id.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ” connector_name
required
Connector Name
string
Request Body required
Section titled “ Request Body required ” Media type application/json
ConnectorIngestRequest
object
Example generated
{ "credential_id": "example", "config": {}, "resource_id": "example"}Responses
Section titled “ Responses ”Successful Response
Media type application/json
ConnectorIngestResponse
object
job_id
required
Job Id
API-safe opaque handle for the dispatched ingest job.
string
status
Status
string
Example
{ "status": "queued"}Bad request — invalid payload
Media type application/problem+json
Unauthorized — missing or invalid credentials
Media type application/problem+json
Forbidden — caller lacks write access
Media type application/problem+json
Not found
Media type application/problem+json
Conflict — resource state prevents the operation
Media type application/problem+json
Validation error
Media type application/problem+json
Too many requests — retry after the advertised interval
Media type application/problem+json
Headers
Section titled “ Headers ” Retry-After
integer
Seconds until the request may be retried
Internal server error
Media type application/problem+json
Bad gateway — connector provider failed
Media type application/problem+json
Service unavailable — the database could not serve the request
Media type application/problem+json
Gateway timeout — connector provider timed out
Media type application/problem+json