Data Source List
Markdown for LLMsReturns one page of the data sources on the caller's subscription, newest first unless orderby says otherwise.
Each entry is the full record, in the same shape documents-data-source-get returns for a single data source — there is no lighter summary form, so a page of 25 carries 25 complete records.
Page with top and skip, and read pagination inside result.data to find out where you are: totalCount is the number of matches across all pages, while count is only how many came back in this one.
JWT token to authenticate the request.
In: header
API key, sent as a request header.
In: header
Query Parameters
Maximum number of records to return — the page size. Optional; the server applies its own default when omitted.
How many records to skip before the page begins — the offset. Optional; defaults to 0. Combine with top to page: the third page of 25 is top=25&skip=50.
Sort clause as Column|DIRECTION with a literal pipe between the two, for example Name|DESC. DIRECTION is ASC or DESC. Optional.
Filter clauses as a URL-encoded JSON array, each entry { key, column, type, condition, value }. Optional; omit it to return everything.
Decoded, one clause looks like [{"key":"Filter1","column":"Name","type":"string","condition":"CONTAINS","value":"Invoice"}]. Several clauses narrow the result further.
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/documents/datasource/list?top=25&skip=50&orderby=Name%7CDESC&filter=%255B%257B%2522key%2522%253A%2522Filter1%2522%252C%2522column%2522%253A%2522Name%2522%252C%2522type%2522%253A%2522string%2522%252C%2522condition%2522%253A%2522CONTAINS%2522%252C%2522value%2522%253A%2522Invoice%2522%257D%255D"{ "result": { "statusCode": 200, "message": "OK", "data": { "dataSources": [ { "id": "7559d1c1-7fac-432b-928e-8f7b2e7a3c6a", "subscriptionId": "44b20059-2442-44cc-82ed-a0d0070804d2", "ownerId": "5a9aefef-7015-4d9a-bb72-80e702a9b99a", "lastModifiedUserId": "5a9aefef-7015-4d9a-bb72-80e702a9b99a", "name": "OneDrive line items", "description": "", "urn": "01DGFHE4KA433HWFFZDREIXWZZA27NWIOW", "variables": [], "loadMethod": "OneDrive", "createdDate": "2026-08-28T09:06:44.000Z", "lastModifiedDate": "2026-08-28T09:06:44.000Z", "ownerName": "Jane Doe", "lastModifiedUserName": "Jane Doe", "documentSolutions": [ { "id": "72af7a9a-fe5c-418d-9feb-1fe2e87b29e9", "name": "Manually supplied data solution" } ] }, { "id": "38f8924c-02a3-4e22-9a12-17b80908221e", "subscriptionId": "44b20059-2442-44cc-82ed-a0d0070804d2", "ownerId": "c04a1354-f989-4bd6-8d4a-6d3fc95c74a3", "lastModifiedUserId": "c04a1354-f989-4bd6-8d4a-6d3fc95c74a3", "name": "Q3 Sales Report Data", "description": "Account records used for quarterly reports.", "query": "{ Customer: customer { Name: NAME1 AccountId: KUNNR } }", "variables": [ { "name": "accountId", "value": "ACC-10482", "type": "graphql" } ], "loadMethod": "Storage", "createdDate": "2026-07-01T10:11:48.000Z", "lastModifiedDate": "2026-07-01T10:11:48.000Z", "ownerName": "Alex Johnson", "lastModifiedUserName": "Alex Johnson", "documentSolutions": [ { "id": "b03a7dec-44bc-42dc-abb4-3556e87fa679", "name": "Quarterly Invoicing", "description": "Ties the data source to the contract template." } ] } ], "pagination": { "currentPage": 1, "count": 2, "pageSize": 25, "totalCount": 41, "hasNext": true, "hasPrevious": false } } }, "origin": "GET https://api.doctavian.com/v1/documents/datasource/list", "dateTime": "2026-09-25T09:41:06.000Z", "userId": "1a2b3c4d-5e6f-4a1b-8c2d-3e4f5a6b7c8d", "operationId": "a7f2b481c96d43e0b5a3f8172c40e9d6"}{ "error": { "statusCode": 401, "message": "The request could not be authenticated.", "innerErrors": [ { "code": "UNAUTHORIZED", "message": "The request could not be authenticated.", "userMessage": "Your session has expired or is invalid. Please sign in again." } ] }, "origin": "GET https://api.doctavian.com/v1/documents/datasource/list", "dateTime": "2026-09-25T09:41:06.000Z", "userId": "1a2b3c4d-5e6f-4a1b-8c2d-3e4f5a6b7c8d", "operationId": "a7f2b481c96d43e0b5a3f8172c40e9d6"}{ "error": { "statusCode": 500, "message": "The data source list could not be retrieved.", "innerErrors": [ { "code": "GET_DATA_SOURCE_LIST_ERROR", "message": "The data source list could not be retrieved.", "userMessage": "Something went wrong. Please try again or contact support." } ] }, "origin": "GET https://api.doctavian.com/v1/documents/datasource/list", "dateTime": "2026-09-25T09:41:06.000Z", "userId": "1a2b3c4d-5e6f-4a1b-8c2d-3e4f5a6b7c8d", "operationId": "a7f2b481c96d43e0b5a3f8172c40e9d6"}