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

# List personas

> Personas are saved contact-targeting settings: which job titles to look for, how many
contacts per company, and whether to enrich emails and phones. They are shared with the
Avina dashboard. Creating or changing a persona does not search for contacts or use
credits.




## OpenAPI

````yaml /api-reference/openapi.yaml get /personas
openapi: 3.1.0
info:
  title: Avina API
  version: 1.0.0-draft
  description: >
    The Avina developer API, for calling Avina from your own servers.


    **Authentication.** Send your workspace API key: `Authorization: Bearer
    <key>`. Create keys in

    the Avina dashboard under Settings → API keys.


    **Credits.** `GET /usage` reports your workspace's signal credits for the
    current billing

    period: the same credits and period the dashboard shows.


    **Conventions.** JSON with snake_case fields and UTC ISO-8601 timestamps.
    Paginated lists use

    `limit` + `after` cursor pagination. `POST` requests accept an
    `Idempotency-Key` header

    (kept 24 hours). Every response has `X-Request-Id`. Request bodies must be
    JSON

    (`415 invalid_request` otherwise) and are limited to 100 KB (`413
    invalid_request`). A

    `503 internal_error` means the API key could not be checked; retry the
    request.
servers:
  - url: https://api.avina.io/v1
    description: Production (proposed domain)
security:
  - apiKey: []
tags:
  - name: Account
  - name: Personas
paths:
  /personas:
    get:
      tags:
        - Personas
      summary: List personas
      description: >
        Personas are saved contact-targeting settings: which job titles to look
        for, how many

        contacts per company, and whether to enrich emails and phones. They are
        shared with the

        Avina dashboard. Creating or changing a persona does not search for
        contacts or use

        credits.
      operationId: listPersonas
      responses:
        '200':
          description: All personas in the workspace.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PersonaList'
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  schemas:
    PersonaList:
      type: object
      required:
        - object
        - data
      properties:
        object:
          type: string
          const: list
        data:
          type: array
          items:
            $ref: '#/components/schemas/Persona'
    Persona:
      type: object
      required:
        - object
        - id
        - job_titles
        - contacts_per_company
        - enrich_emails
        - enrich_phones
        - contact_countries
        - created_at
        - updated_at
      properties:
        object:
          type: string
          const: persona
        id:
          type: string
          format: uuid
        name:
          type:
            - string
            - 'null'
        job_titles:
          type: array
          items:
            type: string
        contacts_per_company:
          type: integer
        enrich_emails:
          type: boolean
        enrich_phones:
          type: boolean
        contact_countries:
          type:
            - array
            - 'null'
          items:
            type: string
          description: >-
            Countries where the contacts are located, uppercase; null or [] =
            worldwide.
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
            - request_id
          properties:
            code:
              type: string
              enum:
                - invalid_request
                - invalid_api_key
                - not_found
                - idempotency_key_reused
                - rate_limited
                - internal_error
                - timeout
            message:
              type: string
            request_id:
              type: string
            details:
              type: array
              items:
                type: object
                properties:
                  field:
                    type: string
                  message:
                    type: string
  responses:
    Unauthorized:
      description: The API key is missing, invalid or revoked.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: invalid_api_key
              message: The API key is invalid or revoked.
              request_id: req_8f2a
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: Workspace API key from the Avina dashboard (Settings → API keys).

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.