Phonic projects API

The projects API from Phonic — 4 operation(s) for projects.

Operations 8

GET /projects List #
POST /projects Create #
GET /projects/{nameOrId} Get #
DELETE /projects/{nameOrId} Delete #
PATCH /projects/{nameOrId} Update #
GET /projects/{id}/conversation_eval_prompts List Eval Prompts #
POST /projects/{id}/conversation_eval_prompts Create Eval Prompt #
GET /projects/{id}/conversation_evals List Evals #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/phonic-projects-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

phonic-projects-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Reference agents Projects API
  version: 1.0.0
servers:
- url: https://api.phonic.ai/v1
  description: https://api.phonic.ai/v1
tags:
- name: projects
paths:
  /projects:
    get:
      operationId: list
      summary: List
      description: Returns all projects in a workspace.
      tags:
      - projects
      parameters:
      - name: Authorization
        in: header
        description: Bearer authentication header of the form `Bearer <PHONIC_API_KEY>`. Manage your API keys [here](https://phonic.co/api-keys).
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/projects_list_Response_200'
        '401':
          description: Unauthorized (authentication missing or invalid)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BasicError'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BasicError'
    post:
      operationId: create
      summary: Create
      description: Creates a new project in a workspace.
      tags:
      - projects
      parameters:
      - name: Authorization
        in: header
        description: Bearer authentication header of the form `Bearer <PHONIC_API_KEY>`. Manage your API keys [here](https://phonic.co/api-keys).
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Success response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/projects_create_Response_201'
        '400':
          description: Invalid parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationError'
        '401':
          description: Unauthorized (authentication missing or invalid)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BasicError'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BasicError'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateProjectRequest'
  /projects/{nameOrId}:
    get:
      operationId: get
      summary: Get
      description: Returns a project by name or ID.
      tags:
      - projects
      parameters:
      - name: nameOrId
        in: path
        description: The name or the ID of the project to get.
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        description: Bearer authentication header of the form `Bearer <PHONIC_API_KEY>`. Manage your API keys [here](https://phonic.co/api-keys).
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/projects_get_Response_200'
        '401':
          description: Unauthorized (authentication missing or invalid)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BasicError'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BasicError'
        '404':
          description: Project not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BasicError'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BasicError'
    delete:
      operationId: delete
      summary: Delete
      description: Deletes a project by name or ID.
      tags:
      - projects
      parameters:
      - name: nameOrId
        in: path
        description: The name or the ID of the project to delete.
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        description: Bearer authentication header of the form `Bearer <PHONIC_API_KEY>`. Manage your API keys [here](https://phonic.co/api-keys).
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/projects_delete_Response_200'
        '401':
          description: Unauthorized (authentication missing or invalid)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BasicError'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BasicError'
        '404':
          description: Project not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BasicError'
        '409':
          description: Cannot delete the last project in a workspace
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BasicError'
    patch:
      operationId: update
      summary: Update
      description: Updates a project by name or ID.
      tags:
      - projects
      parameters:
      - name: nameOrId
        in: path
        description: The name or the ID of the project to update.
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        description: Bearer authentication header of the form `Bearer <PHONIC_API_KEY>`. Manage your API keys [here](https://phonic.co/api-keys).
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/projects_update_Response_200'
        '400':
          description: Invalid parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationError'
        '401':
          description: Unauthorized (authentication missing or invalid)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BasicError'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BasicError'
        '404':
          description: Project not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BasicError'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BasicError'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateProjectRequest'
  /projects/{id}/conversation_eval_prompts:
    get:
      operationId: list-eval-prompts
      summary: List Eval Prompts
      description: Returns all conversation evaluation prompts for a project.
      tags:
      - projects
      parameters:
      - name: id
        in: path
        description: The ID of the project.
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        description: Bearer authentication header of the form `Bearer <PHONIC_API_KEY>`. Manage your API keys [here](https://phonic.co/api-keys).
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/projects_list_eval_prompts_Response_200'
        '401':
          description: Unauthorized (authentication missing or invalid)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BasicError'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BasicError'
        '404':
          description: Project not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BasicError'
    post:
      operationId: create-eval-prompt
      summary: Create Eval Prompt
      description: Creates a new conversation evaluation prompt for a project.
      tags:
      - projects
      parameters:
      - name: id
        in: path
        description: The ID of the project.
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        description: Bearer authentication header of the form `Bearer <PHONIC_API_KEY>`. Manage your API keys [here](https://phonic.co/api-keys).
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Success response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/projects_create_eval_prompt_Response_201'
        '400':
          description: Invalid parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationError'
        '401':
          description: Unauthorized (authentication missing or invalid)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BasicError'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BasicError'
        '404':
          description: Project not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BasicError'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateConversationEvalPromptRequest'
  /projects/{id}/conversation_evals:
    get:
      operationId: list-evals
      summary: List Evals
      description: Returns all conversation evaluation results for a project.
      tags:
      - projects
      parameters:
      - name: id
        in: path
        description: The ID of the project.
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        description: Bearer authentication header of the form `Bearer <PHONIC_API_KEY>`. Manage your API keys [here](https://phonic.co/api-keys).
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/projects_list_evals_Response_200'
        '401':
          description: Unauthorized (authentication missing or invalid)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BasicError'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BasicError'
        '404':
          description: Project not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BasicError'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BasicError'
components:
  schemas:
    ValidationErrorError:
      type: object
      properties:
        message:
          type: string
          description: Error message
      required:
      - message
      title: ValidationErrorError
    projects_create_Response_201:
      type: object
      properties:
        id:
          type: string
          description: The ID of the created project.
        name:
          type: string
          description: The name of the created project.
      required:
      - id
      - name
      title: projects_create_Response_201
    ProjectDefaultAgent:
      type: object
      properties:
        id:
          type: string
          description: The ID of the project's default agent.
        name:
          type: string
          description: The name of the project's default agent.
      required:
      - id
      - name
      description: The project's default agent.
      title: ProjectDefaultAgent
    projects_list_Response_200:
      type: object
      properties:
        projects:
          type: array
          items:
            $ref: '#/components/schemas/Project'
      required:
      - projects
      title: projects_list_Response_200
    CreateProjectRequest:
      type: object
      properties:
        name:
          type: string
          description: The name of the project. Can only contain lowercase letters, numbers and hyphens. Must be unique within the workspace.
      required:
      - name
      title: CreateProjectRequest
    BasicErrorError:
      type: object
      properties:
        message:
          type: string
          description: Error message
        code:
          type: string
          description: Error code
      required:
      - message
      title: BasicErrorError
    projects_get_Response_200:
      type: object
      properties:
        project:
          $ref: '#/components/schemas/Project'
      required:
      - project
      title: projects_get_Response_200
    ConversationEvalResult:
      type: string
      enum:
      - successful
      - unsuccessful
      - undecided
      - error
      description: The evaluation result.
      title: ConversationEvalResult
    Project:
      type: object
      properties:
        id:
          type: string
          description: The ID of the project.
        name:
          type: string
          description: The name of the project.
        default_agent:
          oneOf:
          - $ref: '#/components/schemas/ProjectDefaultAgent'
          - type: 'null'
          description: The project's default agent.
        active_conversations:
          type: integer
          description: Number of conversations currently in progress for this project.
        max_active_conversations:
          type:
          - integer
          - 'null'
          description: Maximum number of concurrent conversations allowed for this project. When `null`, the workspace `max_active_conversations` limit is used.
      required:
      - id
      - name
      - default_agent
      - active_conversations
      - max_active_conversations
      title: Project
    Error:
      oneOf:
      - $ref: '#/components/schemas/BasicError'
      - $ref: '#/components/schemas/ValidationError'
      title: Error
    ConversationEval:
      type: object
      properties:
        id:
          type: string
          description: The evaluation ID.
        conversation_id:
          type: string
          description: The ID of the conversation that was evaluated.
        prompt:
          $ref: '#/components/schemas/ConversationEvalPromptInfo'
        result:
          $ref: '#/components/schemas/ConversationEvalResult'
          description: The evaluation result.
        created_at:
          type: string
          format: date-time
          description: When the evaluation was created.
      required:
      - id
      - conversation_id
      - prompt
      - result
      - created_at
      title: ConversationEval
    ConversationEvalPromptInfo:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
      required:
      - id
      - name
      description: The evaluation prompt information.
      title: ConversationEvalPromptInfo
    projects_create_eval_prompt_Response_201:
      type: object
      properties:
        id:
          type: string
          description: The ID of the created evaluation prompt.
      required:
      - id
      title: projects_create_eval_prompt_Response_201
    BasicError:
      type: object
      properties:
        error:
          $ref: '#/components/schemas/BasicErrorError'
      title: BasicError
    projects_update_Response_200:
      type: object
      properties:
        success:
          type: boolean
          description: Whether the project was updated successfully.
      required:
      - success
      title: projects_update_Response_200
    projects_delete_Response_200:
      type: object
      properties:
        success:
          type: boolean
          description: Whether the project was deleted successfully.
      required:
      - success
      title: projects_delete_Response_200
    UpdateProjectRequest:
      type: object
      properties:
        name:
          type: string
          description: The name of the project. Can only contain lowercase letters, numbers and hyphens. Must be unique within the workspace.
        default_agent:
          type:
          - string
          - 'null'
          description: The name of the new project's default agent. Set to `null` to remove the default agent.
        max_active_conversations:
          type:
          - integer
          - 'null'
          description: Maximum number of concurrent conversations allowed for this project. When `null`, the workspace `max_active_conversations` limit is used.
      title: UpdateProjectRequest
    CreateConversationEvalPromptRequest:
      type: object
      properties:
        name:
          type: string
          description: A useful name for referring to this prompt.
        prompt:
          type: string
          description: Actual evaluation prompt text to evaluate conversations with.
      required:
      - name
      - prompt
      title: CreateConversationEvalPromptRequest
    projects_list_eval_prompts_Response_200:
      type: object
      properties:
        conversation_eval_prompts:
          type: array
          items:
            $ref: '#/components/schemas/ConversationEvalPrompt'
      required:
      - conversation_eval_prompts
      title: projects_list_eval_prompts_Response_200
    projects_list_evals_Response_200:
      type: object
      properties:
        evals:
          type: array
          items:
            $ref: '#/components/schemas/ConversationEval'
      required:
      - evals
      title: projects_list_evals_Response_200
    ConversationEvalPrompt:
      type: object
      properties:
        id:
          type: string
          description: The evaluation prompt ID.
        name:
          type: string
          description: The evaluation prompt name.
        prompt:
          type: string
          description: The evaluation prompt text.
      required:
      - id
      - name
      - prompt
      title: ConversationEvalPrompt
    ValidationError:
      type: object
      properties:
        error:
          $ref: '#/components/schemas/ValidationErrorError'
        param_errors:
          type: object
          additionalProperties:
            type: string
          description: Parameter-specific validation errors
      required:
      - error
      - param_errors
      title: ValidationError
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Bearer authentication header of the form `Bearer <PHONIC_API_KEY>`. Manage your API keys [here](https://phonic.co/api-keys).