Create tasks for an entity

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://api-docs.kitsu.cloud/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "Kitsu API MCP server": {
    "url": "https://api-docs.kitsu.cloud/mcp"
  }
}

Close
POST /data/entities/{entity_id}/tasks

Create one task for each task type of the list. The project must use each task type. For an asset, the workflow of the asset type must also have each task type. If the list is empty, the route uses all the task types that are valid for the entity. If a task with the same task type exists, it is skipped. Clients and vendors cannot use this route.

Path parameters

  • entity_id string(uuid) Required

    Unique identifier of the entity

application/json

Body

  • task_type_ids array[string(uuid)]

    Optional list of task type IDs to create. Omit or pass an empty list to default to every task type valid for the entity.

Responses

  • 201

    The new tasks

  • 400

    A task type is not used by the project, is not in the workflow of the asset type, or is not for this type of entity

  • 403

    You do not have access to this entity, or you are a client or a vendor

  • 404

    The entity or a task type does not exist

POST /data/entities/{entity_id}/tasks
curl \
 --request POST '/api/data/entities/a24a6ea4-ce75-4665-a070-57453082c250/tasks' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{
  "task_type_ids": [
    "b24a6ea4-ce75-4665-a070-57453082c250"
  ]
}'
Request example
{
  "task_type_ids": [
    "b24a6ea4-ce75-4665-a070-57453082c250"
  ]
}