List Inputs
List every document ingestion source in your workspace with GET /v1/sources: status, document counts, default schema, and each source's own upload endpoint.
The GET /v1/sources endpoint lists every document ingestion source in your Talonic workspace, newest first. A source groups documents by origin, such as an invoice feed or a contract inbox, and each source carries its own scoped API key and a dedicated endpoint URL for programmatic document uploads.
Sources are the entry point for document ingestion in Talonic. Each source represents a distinct document stream or integration — for example, an invoice intake or a contract review workflow. Documents ingested through a source inherit its configuration, including any default schema, and every document keeps a link back to the source that ingested it, so downstream reads can always answer "where did this file come from".
The type field distinguishes how documents arrive: sources created through this API have type api (push ingestion via the endpoint URL), while connector-backed sources configured in the dashboard carry their connector type (Google Drive, SharePoint, S3, SQL, and others). The status field reads active when the source is idle and ready, a syncing state while a connector is pulling documents, or error when the last sync failed.
Use the listing as your ingestion inventory: document_count shows volume per stream, default_schema shows which extraction schema is stamped on new documents, and the links object carries ready-made URLs for the source detail, its document list (GET /v1/sources/:id/documents), and the dashboard view. The response is a plain array with no pagination — workspaces hold a bounded number of sources, so one call always returns all of them.
endpoint URL for document ingestion. Use the source-scoped API key (returned once at creation) to authenticate uploads to that endpoint, or any workspace key with the extract scope./v1/sourcesRequest
curl https://api.talonic.com/v1/sources \
-H "Authorization: Bearer $TALONIC_API_KEY"Response
Response fields
Response
{
"data": [
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"name": "Invoice Pipeline",
"type": "api",
"status": "active",
"document_count": 234,
"default_schema": null,
"endpoint": "/v1/sources/a1b2c3d4-e5f6-7890-abcd-ef1234567890/documents",
"created_at": "2024-08-01T09:00:00.000Z",
"links": {
"self": "/v1/sources/a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"documents": "/v1/sources/a1b2c3d4-e5f6-7890-abcd-ef1234567890/documents",
"dashboard": "https://app.talonic.com/sources/a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}
}
]
}Errors
Error responses