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

# Create bot

> Provisions a new machine identity principal in the project.



## OpenAPI

````yaml /api-reference/openapi.yaml post /v1/projects/{project_id}/bots
openapi: 3.1.0
info:
  title: Qumo Deploy REST API
  description: >
    The Qumo Deploy REST API provides programmatic control over edge relay
    clusters,

    ephemeral token issuance, tenant lifecycle, bot machine identities, and
    billing.
  version: 1.0.0
servers:
  - url: https://api.qumo-deploy.com
    description: Production Control Plane
  - url: http://localhost:8080
    description: Local Development / Sandbox
security:
  - BearerAuth: []
  - ApiKeyAuth: []
paths:
  /v1/projects/{project_id}/bots:
    post:
      summary: Create bot
      description: Provisions a new machine identity principal in the project.
      parameters:
        - in: path
          name: project_id
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateBotRequest'
      responses:
        '200':
          description: Created bot
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Bot'
components:
  schemas:
    CreateBotRequest:
      type: object
      required:
        - name
      properties:
        name:
          type: string
          example: github-actions-deployer
    Bot:
      type: object
      required:
        - id
        - project_id
        - name
      properties:
        id:
          type: string
          example: bot_18b29c10
        project_id:
          type: string
          example: prj_prod_01
        name:
          type: string
          example: github-actions-deployer
        created_at:
          type: string
          format: date-time
          example: '2026-06-01T12:00:00Z'
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: |
        Bearer token (User session or Bot machine token).
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: |
        Project-scoped API key (`qumo_live_...` or `qumo_test_...`).

````