Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.snorbe.deskrex.ai/llms.txt

Use this file to discover all available pages before exploring further.

Get Source Detail

Returns detailed information about a specific source (public or private), including the full body text, extracted links from the body, linked agent runs, and linked entities.

Request

GET /api/v1/graph/source/{sourceId}?sourceType=public

Path Parameters

ParameterTypeDescription
sourceIdstringSource ID

Query Parameters

ParameterTypeRequiredDescription
sourceTypestringYesSource type: public or private

Headers

HeaderRequiredDescription
AuthorizationYesAPI key in Bearer snorbe_... format
The workspace is automatically resolved from your API key. No workspaceId parameter required.

Response

{
  "id": "clsrc001",
  "url": "https://example.com/research-paper",
  "title": "Advances in Solid-State Battery Technology",
  "description": "A comprehensive review of recent developments...",
  "body": "Solid-state batteries have emerged as a promising alternative...",
  "bodyLinks": [
    {
      "title": "Related Study",
      "url": "https://example.com/related-study",
      "type": "external"
    }
  ],
  "sourceType": "public",
  "createdAt": "2026-03-10T08:00:00.000Z",
  "agentRuns": [
    {
      "id": "clrun001",
      "status": "completed",
      "createdAt": "2026-04-01T09:00:00.000Z",
      "linkedEntityIds": ["clxxx001", "clxxx002"],
      "turnId": "clturn001"
    }
  ],
  "linkedEntities": [
    {
      "id": "clxxx001",
      "label": "Solid-State Battery",
      "category": "technology",
      "kind": "entity"
    }
  ]
}
Returns null if the source is not found in the workspace.

Response Fields

FieldTypeDescription
idstringSource ID
urlstringSource URL
titlestringSource title
descriptionstringSource description
bodystringFull body text of the source
bodyLinksobject[]Links extracted from the source body
bodyLinks[].titlestringLink title
bodyLinks[].urlstringLink URL
bodyLinks[].typestringLink type (e.g., external)
sourceTypestringSource type (public or private)
createdAtstringCreation timestamp (ISO 8601)
agentRunsobject[]Agent runs that used this source
agentRuns[].idstringAgent run ID
agentRuns[].statusstringRun status (completed, running, error, etc.)
agentRuns[].createdAtstringRun creation timestamp (ISO 8601)
agentRuns[].linkedEntityIdsstring[]Entity IDs linked to this agent run
agentRuns[].turnIdstring | nullTurn ID associated with this agent run
linkedEntitiesobject[]Entities extracted from or linked to this source
linkedEntities[].idstringEntity ID
linkedEntities[].labelstringEntity name
linkedEntities[].categorystringEntity category
linkedEntities[].kindstringEntity kind

Examples

curl "https://app.snorbe.deskrex.ai/api/v1/graph/source/clsrc001?sourceType=public" \
  -H "Authorization: Bearer snorbe_your_api_key_here"

Error Responses

HTTP StatusDescription
401Invalid, expired, or missing API key
403Access denied (source belongs to a different workspace or user)
404Source not found (returns null body)