Predict.aiDocs
Ingestion

Endpoints

Every ingestion route at a glance.

All routes require Authorization and X-Workspace-Id headers, except the webhook delivery URLs (HMAC-signed) and the OAuth callback (browser redirect).

Sources

MethodPathPurpose
POST/v1/ingestion/sourcesCreate a source
GET/v1/ingestion/sourcesList sources with job health
GET/v1/ingestion/sources/{source_id}Inspect one source + statistics
PUT/v1/ingestion/sources/{source_id}Update a source
DELETE/v1/ingestion/sources/{source_id}Delete a source and its jobs
GET/v1/ingestion/sources/{source_id}/schemaRead the live schema
POST/v1/ingestion/sources/test-connectionDry-run a configuration
POST/v1/ingestion/sources/{source_id}/testRe-test an existing source
POST/v1/ingestion/sources/uploadUpload a file (explicit columnTypes required)
GET/POST/v1/ingestion/sources/{source_id}/proxyProxy a REST source

Connect

MethodPathPurpose
POST/v1/ingestion/connect/inspectInspect a connection — test + auto-map, persist nothing
POST/v1/ingestion/connect/createCreate a source with syncs
POST/v1/ingestion/connect/create-eventCreate an event source — webhook push or REST poll
GET/POST/v1/ingestion/connect/inspect-source/{source_id}Re-introspect an existing source
POST/v1/ingestion/connect/add-jobs/{source_id}Add sync jobs to an existing source
POST/v1/ingestion/connect/uploadUpload a file — auto-typed
POST/v1/ingestion/connect/inspect-fileStage a file and detect its columns
POST/v1/ingestion/connect/import-fileImport a staged file with a custom mapping
POST/v1/ingestion/connect/datasets/stageStage one dataset file
POST/v1/ingestion/connect/datasets/inspectPlan a multi-file dataset
POST/v1/ingestion/connect/datasets/importExecute a reviewed dataset plan
GET/v1/ingestion/connect/datasets/{dataset_id}Poll dataset batch status

Jobs

MethodPathPurpose
POST/v1/ingestion/jobsCreate a job
GET/v1/ingestion/jobsList jobs (paginated)
PUT/v1/ingestion/jobs/{job_id}Update or pause a job
DELETE/v1/ingestion/jobs/{job_id}Delete a job
POST/v1/ingestion/jobs/{job_id}/triggerTrigger a run now
GET/v1/ingestion/jobs/{job_id}/preview-schedulePreview upcoming run times

Executions

MethodPathPurpose
GET/v1/ingestion/executionsList executions (filters + pagination)
GET/v1/ingestion/executions/{execution_id}Inspect one execution
POST/v1/ingestion/executions/{execution_id}/cancelCancel a running execution
POST/v1/ingestion/executions/{execution_id}/retryRetry a failed execution
GET/v1/ingestion/executions/statsWorkspace execution stats

OAuth

MethodPathPurpose
GET/v1/ingestion/oauth/providersList OAuth providers
POST/v1/ingestion/oauth/{provider}/startStart the consent flow
GET/v1/ingestion/oauth/{provider}/callbackProvider redirect target (browser only)

Webhooks

MethodPathPurpose
POST/v1/ingestion/webhooks/{source_id}Receive a delivery (defaults to events)
POST/v1/ingestion/webhooks/{source_id}/{kind}Receive a deliverykind is events or signal

On this page