Get knowledge

GET /v1/Knowledge/{id}

Get knowledge

Path parameters

  • id string Required

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • description string

      The type of knowledge source.

    • id string Required

      The description of knowledge.

      Format should match the following pattern: ^aia_know_.+$.

    • account_sid string

      The SID of the Account that created the Knowledge resource.

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^AC[0-9a-fA-F]{32}$.

    • knowledge_source_details object

      The details of the knowledge source based on the type.

    • name string Required

      The name of the knowledge source.

    • status string

      The status of processing the knowledge source ('QUEUED', 'PROCESSING', 'COMPLETED', 'FAILED')

    • type string Required

      The type of knowledge source ('Web', 'Database', 'Text', 'File')

    • url string

      The url of the knowledge resource.

    • embedding_model string

      The embedding model to be used for the knowledge source.

    • date_created string(date-time) Required

      The date and time in GMT when the Knowledge was created specified in ISO 8601 format.

    • date_updated string(date-time) Required

      The date and time in GMT when the Knowledge was last updated specified in ISO 8601 format.

GET /v1/Knowledge/{id}
curl \
 --request GET 'https://assistants.twilio.com/v1/Knowledge/{id}' \
 --user "username:password"
Response examples (200)
{
  "description": "string",
  "id": "string",
  "account_sid": "string",
  "knowledge_source_details": {},
  "name": "string",
  "status": "string",
  "type": "string",
  "url": "string",
  "embedding_model": "string",
  "date_created": "2025-05-04T09:42:00Z",
  "date_updated": "2025-05-04T09:42:00Z"
}