Skip to main content
POST
/
v2
/
memory
/
knowledge
/
list
List Knowledge Sources
curl --request POST \
  --url https://api.velt.dev/v2/memory/knowledge/list \
  --header 'Content-Type: application/json' \
  --header 'x-velt-api-key: <x-velt-api-key>' \
  --header 'x-velt-auth-token: <x-velt-auth-token>' \
  --data '{
  "data": {}
}'
{
  "result": [
    {
      "id": "src_9a8...",
      "mimeType": "application/pdf",
      "embeddingStatus": "completed",
      "originalDownloadUrl": "https://storage.googleapis.com/...",
      "canonicalMdDownloadUrl": "https://storage.googleapis.com/..."
    }
  ]
}
Use this API to list your knowledge sources (capped at 100), each with its ingestion status and, for completed sources, signed download URLs. For a de-duplicated source (dedupOf set), embeddingStatus and the download URLs mirror the winning source’s state, matching Get Ingest Status.

Endpoint

POST https://api.velt.dev/v2/memory/knowledge/list

Headers

x-velt-api-key
string
required
Your API key.
x-velt-auth-token
string
required

Body

Params

data
object
required
No fields required. Send an empty object.

Example Requests

List all sources

{
  "data": {}
}

Response

Each item includes the source id, mimeType, embeddingStatus (processing, completed, or failed), an optional failureReason, an optional dedupOf (the winning source id when this file deduped), and signed originalDownloadUrl/canonicalMdDownloadUrl for completed sources.

Success Response

{
  "result": [
    {
      "id": "src_9a8...",
      "mimeType": "application/pdf",
      "embeddingStatus": "completed",
      "originalDownloadUrl": "https://storage.googleapis.com/...",
      "canonicalMdDownloadUrl": "https://storage.googleapis.com/..."
    }
  ]
}

Failure Response

{
  "error": {
    "message": "ERROR_MESSAGE",
    "status": "INVALID_ARGUMENT"
  }
}
{
  "result": [
    {
      "id": "src_9a8...",
      "mimeType": "application/pdf",
      "embeddingStatus": "completed",
      "originalDownloadUrl": "https://storage.googleapis.com/...",
      "canonicalMdDownloadUrl": "https://storage.googleapis.com/..."
    }
  ]
}