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

# Set Project Limits

> Set the project's limits (#206), replacing all of them: a field left
out or null goes back to the platform default. Applies to the next call or
message — calls already live keep their slots, and count toward the new
limit. Admin key; a project can only set its own.



## OpenAPI

````yaml /openapi.json put /v1/projects/{project_id}/limits
openapi: 3.1.0
info:
  title: TurnCall
  description: Production voice agent platform API
  version: 2.0.0
servers: []
security: []
paths:
  /v1/projects/{project_id}/limits:
    put:
      tags:
        - projects
      summary: Set Project Limits
      description: >-
        Set the project's limits (#206), replacing all of them: a field left

        out or null goes back to the platform default. Applies to the next call
        or

        message — calls already live keep their slots, and count toward the new

        limit. Admin key; a project can only set its own.
      operationId: set_project_limits_v1_projects__project_id__limits_put
      parameters:
        - name: project_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Project Id
        - name: authorization
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProjectLimits'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: >-
                  Response Set Project Limits V1 Projects  Project Id  Limits
                  Put
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ProjectLimits:
      properties:
        live_calls:
          anyOf:
            - type: integer
              minimum: 1
            - type: 'null'
          title: Live Calls
          description: Live calls this project may hold at once, across every server
        outbound_calls_per_second:
          anyOf:
            - type: integer
              minimum: 1
            - type: 'null'
          title: Outbound Calls Per Second
          description: Outbound calls each of this project's numbers may start per second
        messages_per_minute:
          anyOf:
            - type: integer
              minimum: 1
            - type: 'null'
          title: Messages Per Minute
          description: Inbound messages one text session may send per minute
      additionalProperties: false
      type: object
      title: ProjectLimits
      description: >-
        A project's limits (#206). Null means the platform default (`LIMIT_*`),

        which is unlimited unless the deployment set one. A `PUT` replaces all
        of

        them, so a field left out goes back to that default.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````

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