---
updatedAt: 2025-09-16T11:19:47.000Z
agentTools:
  projectIndex: https://docs.super.ai/llms.txt
---

# Add worker to app

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "paths": {
    "/v1/app/{app_uuid}/workers/{worker_id}": {
      "parameters": [
        {
          "name": "app_uuid",
          "in": "path",
          "required": true,
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "worker_id",
          "in": "path",
          "required": true,
          "schema": {
            "type": "integer"
          }
        }
      ],
      "post": {
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkerApp"
                }
              },
              "text/markdown": {
                "schema": {
                  "$ref": "#/components/schemas/WorkerApp"
                }
              }
            }
          }
        },
        "summary": "Add worker to app",
        "operationId": "post_worker_app",
        "parameters": [
          {
            "name": "X-Fields",
            "in": "header",
            "description": "An optional fields mask",
            "schema": {
              "type": "string",
              "format": "mask"
            }
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/CreateWorkerApp"
        },
        "security": [
          {
            "apiToken": []
          }
        ],
        "tags": [
          "workers"
        ]
      }
    }
  },
  "info": {
    "title": "super.AI API",
    "version": "2.0.177.120",
    "description": "super.AI App Store API"
  },
  "tags": [
    {
      "name": "workers",
      "description": "Workers related CRUD"
    }
  ],
  "servers": [
    {
      "url": "//api.prod-eu.super.ai"
    }
  ],
  "components": {
    "requestBodies": {
      "CreateWorkerApp": {
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/CreateWorkerApp"
            }
          }
        },
        "required": true
      }
    },
    "securitySchemes": {
      "apiToken": {
        "type": "apiKey",
        "in": "header",
        "name": "API-KEY"
      }
    },
    "schemas": {
      "Worker": {
        "properties": {
          "id": {
            "type": "integer"
          },
          "status": {
            "type": "string",
            "example": "INVITED",
            "enum": [
              "INVITED",
              "ACTIVE",
              "INACTIVE"
            ]
          },
          "type": {
            "type": "string",
            "example": "USER",
            "enum": [
              "USER",
              "CROWD",
              "BOT",
              "AI"
            ]
          },
          "invited": {
            "type": "string",
            "format": "date-time"
          },
          "accepted": {
            "type": "string",
            "format": "date-time"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "userId": {
            "type": "integer"
          },
          "userEmail": {
            "type": "string"
          },
          "userUsername": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "WorkerApp": {
        "properties": {
          "appUuid": {
            "type": "string"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "ownerId": {
            "type": "integer"
          },
          "worker": {
            "$ref": "#/components/schemas/Worker"
          },
          "role": {
            "type": "string",
            "example": "LABELER",
            "enum": [
              "LABELER",
              "REVIEWER"
            ]
          }
        },
        "type": "object"
      },
      "CreateWorkerApp": {
        "required": [
          "role"
        ],
        "properties": {
          "role": {
            "type": "string",
            "example": "LABELER",
            "enum": [
              "LABELER",
              "REVIEWER"
            ]
          }
        },
        "type": "object"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```