> ## Documentation Index
> Fetch the complete documentation index at: https://docs.avidoai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get topic IDs

> Retrieves a list of topic IDs with optional filtering.



## OpenAPI

````yaml https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/topics/ids
openapi: 3.1.1
info:
  title: Avido API
  description: >-
    Avido's API for LLM usage events, tool calls, trace management, webhook
    validation, and more. See each endpoint's request/response schema for
    details.
  version: 0.1.0
  contact:
    name: Avido Support
    email: support@avidoai.com
    url: https://avidoai.com/support
servers:
  - url: https://api.avidoai.com
    description: Production API
security:
  - ApiKey: []
    ApplicationId: []
paths:
  /v0/topics/ids:
    get:
      tags:
        - Topics
      summary: Get topic IDs
      description: Retrieves a list of topic IDs with optional filtering.
      operationId: getTopicIds
      parameters:
        - in: query
          name: title
          schema:
            description: Filter by topic title (case-insensitive)
            example: code quality
            type: string
          description: Filter by topic title (case-insensitive)
        - in: query
          name: isInScope
          schema:
            description: >-
              Filter topics by scope status. When true, only returns in-scope
              topics. When false, only returns out-of-scope topics.
            example: 'true'
            type: string
          description: >-
            Filter topics by scope status. When true, only returns in-scope
            topics. When false, only returns out-of-scope topics.
        - in: query
          name: isTasksVerified
          schema:
            description: >-
              Filter topics by task verification status. When true, only returns
              topics where all tasks are verified. When false, only returns
              unverified topics.
            example: 'false'
            type: string
          description: >-
            Filter topics by task verification status. When true, only returns
            topics where all tasks are verified. When false, only returns
            unverified topics.
        - in: query
          name: isKnowledgeBaseVerified
          schema:
            description: >-
              Filter topics by knowledge base verification status. When true,
              only returns topics where the knowledge base has been verified.
              When false, only returns unverified topics.
            example: 'false'
            type: string
          description: >-
            Filter topics by knowledge base verification status. When true, only
            returns topics where the knowledge base has been verified. When
            false, only returns unverified topics.
        - in: query
          name: isPoliciesVerified
          schema:
            description: >-
              Filter topics by policies verification status. When true, only
              returns topics where the policies have been verified. When false,
              only returns unverified topics.
            example: 'false'
            type: string
          description: >-
            Filter topics by policies verification status. When true, only
            returns topics where the policies have been verified. When false,
            only returns unverified topics.
      responses:
        '200':
          description: Successfully retrieved topic IDs
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TopicIdsResponse'
        '400':
          description: bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: invalid input
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationErrorResponse'
        '500':
          description: internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    TopicIdsResponse:
      type: object
      properties:
        topicIds:
          type: array
          items:
            type: string
            format: uuid
            pattern: >-
              ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
          description: Array of topic IDs
          example:
            - 123e4567-e89b-12d3-a456-426614174000
            - 223e4567-e89b-12d3-a456-426614174001
      required:
        - topicIds
      additionalProperties: false
      title: Topic IDs Response
      description: Response containing an array of topic IDs
    ErrorResponse:
      type: object
      properties:
        message:
          type: string
          description: A human-readable error message explaining the error.
          example: Resource not found
      required:
        - message
      additionalProperties: false
      title: ErrorResponse
      description: Standard error format for failed API operations.
    ValidationErrorResponse:
      type: object
      properties:
        message:
          type: string
          description: A human-readable error message indicating what went wrong.
          example: Invalid request data
        issues:
          type: array
          items:
            type: object
            properties:
              code:
                type: string
              message:
                type: string
              path:
                type: array
                items:
                  type: string
            required:
              - code
              - message
              - path
            additionalProperties: false
          description: Array of detailed validation error objects.
          example:
            - code: invalid_string
              message: Invalid UUID
              path:
                - id
      required:
        - message
        - issues
      additionalProperties: false
      title: ValidationErrorResponse
      description: Details about validation errors in incoming requests.
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: Your unique Avido API key
    ApplicationId:
      type: apiKey
      in: header
      name: x-application-id
      description: Your unique Avido Application ID

````