Skip to main content
GET
/
topics
/
{uuid}
/
sources
Get Topic Sources
curl --request GET \
  --url https://api-prod.voltai.ai/source/api/topics/{uuid}/sources/ \
  --cookie sessionid=
{
  "topic": {},
  "page": 123,
  "page_size": 123,
  "total": 123,
  "results": [
    {
      "name": "<string>",
      "updated_at": "2023-11-07T05:31:56Z",
      "topics": [
        "<string>"
      ],
      "display_name": "<string>",
      "type": "CODE",
      "status": "WAITING_FOR_APPROVAL",
      "retrieval_disabled": true,
      "link": "<string>"
    }
  ]
}

Authorizations

sessionid
string
cookie
required

Path Parameters

uuid
string<uuid>
required

Topic UUID

Query Parameters

include_children
boolean
default:false

Include sources from child topics

organization_name
string
required

Organization name (required for multi-tenant API keys)

page
integer
default:1

Page number

page_size
integer
default:20

Items per page

status
string

Filter by status (active, training, error)

type
string

Filter by source type (pdf, html, md, csv, website, repository)

Response

200 - application/json

Response schema for topic-sources endpoint.

topic
object
required
page
integer
required
page_size
integer
required
total
integer
required
results
object[]
required