Label Studio · Capability

API Reference

API Reference API capability.

Run with Naftiko LabelStudioAPI

What You Can Do

GET
List — ✨ Get activity logs
/api/activity-logs/
GET
List — ✨ List all annotation history items for annotation
/api/annotation-history/
DELETE
Delete — ✨ Delete annotation history items
/api/annotation-history/
GET
Retrieve — ✨ Retrieve a single annotation history item (full result for hydration)
/api/annotation-history/{id}/
GET
List for project — ✨ List annotation history items for project
/api/projects/{id}/annotation-history/
GET
List — ✨ List reviews
/api/annotation-reviews/
POST
Create — ✨ Create review
/api/annotation-reviews/
GET
Get — ✨ Get review
/api/annotation-reviews/{id}/
DELETE
Delete — ✨ Delete review
/api/annotation-reviews/{id}/
PATCH
Update — ✨ Update review
/api/annotation-reviews/{id}/
POST
Delete bulk — Bulk delete annotations by IDs
/api/annotations/bulk-delete/
POST
Create bulk — Bulk create annotations
/api/annotations/bulk/
GET
Get — Get annotation by its ID
/api/annotations/{id}/
DELETE
Delete — Delete annotation
/api/annotations/{id}/
PATCH
Update — Update annotation
/api/annotations/{id}/
GET
List — Get all task annotations
/api/tasks/{id}/annotations/
POST
Create — Create annotation
/api/tasks/{id}/annotations/
GET
Info — ✨ Get billing info
/api/billing/info
GET
List — ✨ List comments
/api/comments/
POST
Create — ✨ Create comment
/api/comments/
GET
Export — ✨ Export comments to CSV
/api/comments/export/
GET
Get — ✨ Get comment
/api/comments/{id}/
DELETE
Delete — ✨ Delete comment
/api/comments/{id}/
PATCH
Update — ✨ Update comment
/api/comments/{id}/
GET
Get current user — ✨ Get current user info
/api/current-user
PATCH
Update current user — ✨ Update current user
/api/current-user
GET
Get hotkeys — Get user hotkeys
/api/current-user/hotkeys/
PATCH
Update hotkeys — Update user hotkeys
/api/current-user/hotkeys/
POST
Reset token — Reset user token
/api/current-user/reset-token/
GET
Get token — Get user token
/api/current-user/token
GET
Whoami — Retrieve my user
/api/current-user/whoami
GET
List — List users
/api/users/
POST
Create — Create new user
/api/users/
GET
Get — Get user info
/api/users/{id}/
DELETE
Delete — Delete user
/api/users/{id}/
PATCH
Update — Update user details
/api/users/{id}/
POST
Trigger backfill — ✨ Trigger Agreement V2 backfill
/api/dimensions/backfill/
DELETE
Cancel backfill — ✨ Cancel Agreement V2 backfill jobs
/api/dimensions/backfill/
GET
List backfills — ✨ List Agreement V2 backfill jobs
/api/dimensions/backfill/jobs/
GET
Get backfill status — ✨ Get Agreement V2 backfill status
/api/dimensions/backfill/status/
GET
List — ✨ List dimensions
/api/projects/{project_pk}/dimensions/
GET
Get — ✨ Get dimension
/api/projects/{project_pk}/dimensions/{id}/
GET
List — Get actions
/api/dm/actions/
POST
Create — Post actions
/api/dm/actions/
GET
List — List views
/api/dm/views/
POST
Create — Create view
/api/dm/views/
POST
Update order — Update order of views
/api/dm/views/order/
DELETE
Delete all — Delete all project views
/api/dm/views/reset/
GET
Get — Get view details
/api/dm/views/{id}/
DELETE
Delete — Delete view
/api/dm/views/{id}/
PATCH
Update — Update view
/api/dm/views/{id}/
POST
Trigger backfill — ✨ Trigger state backfill for organization
/api/fsm/backfill/
DELETE
Cancel backfill — ✨ Cancel state backfill jobs
/api/fsm/backfill/
GET
List backfills — ✨ List state backfill jobs
/api/fsm/backfill/jobs/
GET
Get backfill status — ✨ Get state backfill status
/api/fsm/backfill/status/
GET
State history — ✨ Get entity state history
/api/fsm/entities/{entity_name}/{entity_id}/history
POST
Execute transition — ✨ Execute manual state transition
/api/fsm/entities/{entity_name}/{entity_id}/transition/
GET
Get — Get file upload
/api/import/file-upload/{id}
DELETE
Delete — Delete file upload
/api/import/file-upload/{id}
PATCH
Update — Update file upload
/api/import/file-upload/{id}

MCP Tools

list

✨ Get activity logs

read-only idempotent
list

✨ List all annotation history items for annotation

read-only idempotent
delete

✨ Delete annotation history items

idempotent
retrieve

✨ Retrieve a single annotation history item (full result for hydration)

read-only idempotent
list-for-project

✨ List annotation history items for project

read-only idempotent
list

✨ List reviews

read-only idempotent
create

✨ Create review

get

✨ Get review

read-only idempotent
delete

✨ Delete review

idempotent
update

✨ Update review

delete-bulk

Bulk delete annotations by IDs

create-bulk

Bulk create annotations

get

Get annotation by its ID

read-only idempotent
delete

Delete annotation

idempotent
update

Update annotation

list

Get all task annotations

read-only idempotent
create

Create annotation

info

✨ Get billing info

read-only idempotent
list

✨ List comments

read-only idempotent
create

✨ Create comment

export

✨ Export comments to CSV

read-only idempotent
get

✨ Get comment

read-only idempotent
delete

✨ Delete comment

idempotent
update

✨ Update comment

get-current-user

✨ Get current user info

read-only idempotent
update-current-user

✨ Update current user

get-hotkeys

Get user hotkeys

read-only idempotent
update-hotkeys

Update user hotkeys

reset-token

Reset user token

get-token

Get user token

read-only idempotent
whoami

Retrieve my user

read-only idempotent
list

List users

read-only idempotent
create

Create new user

get

Get user info

read-only idempotent
delete

Delete user

idempotent
update

Update user details

trigger-backfill

✨ Trigger Agreement V2 backfill

cancel-backfill

✨ Cancel Agreement V2 backfill jobs

idempotent
list-backfills

✨ List Agreement V2 backfill jobs

read-only idempotent
get-backfill-status

✨ Get Agreement V2 backfill status

read-only idempotent
list

✨ List dimensions

read-only idempotent
get

✨ Get dimension

read-only idempotent
list

Get actions

read-only idempotent
create

Post actions

list

List views

read-only idempotent
create

Create view

update-order

Update order of views

delete-all

Delete all project views

idempotent
get

Get view details

read-only idempotent
delete

Delete view

idempotent
update

Update view

trigger-backfill

✨ Trigger state backfill for organization

cancel-backfill

✨ Cancel state backfill jobs

idempotent
list-backfills

✨ List state backfill jobs

read-only idempotent
get-backfill-status

✨ Get state backfill status

read-only idempotent
state-history

✨ Get entity state history

read-only idempotent
execute-transition

✨ Execute manual state transition

get

Get file upload

read-only idempotent
delete

Delete file upload

idempotent
update

Update file upload

Capability Spec

label-studio-capability.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: API Reference
  description: API Reference API capability.
  tags:
  - Label
  - Studio
  - API
  created: '2026-05-06'
  modified: '2026-05-06'
capability:
  consumes:
  - type: http
    namespace: label-studio
    baseUri: http://localhost:8000
    description: API Reference HTTP API.
    authentication:
      type: apikey
      in: header
      name: Authorization
      value: '{{LABEL_STUDIO_TOKEN}}'
    resources:
    - name: api-activity-logs
      path: /api/activity-logs/
      operations:
      - name: list
        method: GET
        description: ✨ Get activity logs
        inputParameters:
        - name: end_date
          in: query
          type: string
          description: End date/time (ISO-8601) for log filtering.
        - name: method
          in: query
          type: string
          description: HTTP request method used in the log.
        - name: ordering
          in: query
          type: string
          description: Which field to use when ordering the results.
        - name: page
          in: query
          type: integer
          description: '[or "start"] Current page index.'
        - name: page_size
          in: query
          type: integer
          description: '[or "length"] Logs per page, use -1 to obtain all logs (might be slow).'
        - name: project
          in: query
          type: integer
          description: Project ID to filter logs.
        - name: search
          in: query
          type: string
          description: Search expression using "AND"/"OR" to filter by request URL.
        - name: start_date
          in: query
          type: string
          description: Start date/time (ISO-8601) for log filtering.
        - name: user
          in: query
          type: integer
          description: User ID to filter logs.
        - name: workspace
          in: query
          type: integer
          description: Workspace owner ID to filter logs.
        - name: Authorization
          in: header
          type: string
          required: true
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-annotation-history
      path: /api/annotation-history/
      operations:
      - name: list
        method: GET
        description: ✨ List all annotation history items for annotation
        inputParameters:
        - name: annotation
          in: query
          type: integer
          description: Annotation ID to get annotation history items for.
        - name: ordering
          in: query
          type: string
          description: Which field to use when ordering the results.
        - name: Authorization
          in: header
          type: string
          required: true
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: delete
        method: DELETE
        description: ✨ Delete annotation history items
        inputParameters:
        - name: annotation
          in: query
          type: integer
          description: Annotation ID to delete annotation history items for.
        - name: project
          in: query
          type: integer
          description: Project ID to delete annotation history items for.
        - name: task
          in: query
          type: integer
          description: Task ID to delete annotation history items for.
        - name: Authorization
          in: header
          type: string
          required: true
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-annotation-history-id
      path: /api/annotation-history/{id}/
      operations:
      - name: retrieve
        method: GET
        description: ✨ Retrieve a single annotation history item (full result for hydration)
        inputParameters:
        - name: id
          in: path
          type: integer
          required: true
        - name: Authorization
          in: header
          type: string
          required: true
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-projects-id-annotation-history
      path: /api/projects/{id}/annotation-history/
      operations:
      - name: list-for-project
        method: GET
        description: ✨ List annotation history items for project
        inputParameters:
        - name: id
          in: path
          type: integer
          required: true
        - name: page
          in: query
          type: integer
          description: A page number within the paginated result set.
        - name: page_size
          in: query
          type: integer
          description: Number of results to return per page.
        - name: Authorization
          in: header
          type: string
          required: true
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-annotation-reviews
      path: /api/annotation-reviews/
      operations:
      - name: list
        method: GET
        description: ✨ List reviews
        inputParameters:
        - name: annotation
          in: query
          type: integer
        - name: annotation__task__project
          in: query
          type: integer
        - name: ordering
          in: query
          type: string
          description: Which field to use when ordering the results.
        - name: Authorization
          in: header
          type: string
          required: true
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: create
        method: POST
        description: ✨ Create review
        inputParameters:
        - name: async_postprocess
          in: query
          type: boolean
          description: Whether to postprocess the review asynchronously.
        - name: Authorization
          in: header
          type: string
          required: true
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-annotation-reviews-id
      path: /api/annotation-reviews/{id}/
      operations:
      - name: get
        method: GET
        description: ✨ Get review
        inputParameters:
        - name: id
          in: path
          type: integer
          required: true
          description: A unique integer value identifying this annotation review.
        - name: Authorization
          in: header
          type: string
          required: true
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: delete
        method: DELETE
        description: ✨ Delete review
        inputParameters:
        - name: id
          in: path
          type: integer
          required: true
          description: A unique integer value identifying this annotation review.
        - name: Authorization
          in: header
          type: string
          required: true
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: update
        method: PATCH
        description: ✨ Update review
        inputParameters:
        - name: id
          in: path
          type: integer
          required: true
          description: A unique integer value identifying this annotation review.
        - name: Authorization
          in: header
          type: string
          required: true
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-annotations-bulk-delete
      path: /api/annotations/bulk-delete/
      operations:
      - name: delete-bulk
        method: POST
        description: Bulk delete annotations by IDs
        inputParameters:
        - name: Authorization
          in: header
          type: string
          required: true
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-annotations-bulk
      path: /api/annotations/bulk/
      operations:
      - name: create-bulk
        method: POST
        description: Bulk create annotations
        inputParameters:
        - name: Authorization
          in: header
          type: string
          required: true
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-annotations-id
      path: /api/annotations/{id}/
      operations:
      - name: get
        method: GET
        description: Get annotation by its ID
        inputParameters:
        - name: id
          in: path
          type: integer
          required: true
        - name: Authorization
          in: header
          type: string
          required: true
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: delete
        method: DELETE
        description: Delete annotation
        inputParameters:
        - name: id
          in: path
          type: integer
          required: true
        - name: Authorization
          in: header
          type: string
          required: true
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: update
        method: PATCH
        description: Update annotation
        inputParameters:
        - name: id
          in: path
          type: integer
          required: true
        - name: Authorization
          in: header
          type: string
          required: true
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-tasks-id-annotations
      path: /api/tasks/{id}/annotations/
      operations:
      - name: list
        method: GET
        description: Get all task annotations
        inputParameters:
        - name: id
          in: path
          type: integer
          required: true
          description: Task ID
        - name: ordering
          in: query
          type: string
          description: Which field to use when ordering the results.
        - name: Authorization
          in: header
          type: string
          required: true
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: create
        method: POST
        description: Create annotation
        inputParameters:
        - name: id
          in: path
          type: integer
          required: true
          description: Task ID
        - name: Authorization
          in: header
          type: string
          required: true
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-billing-info
      path: /api/billing/info
      operations:
      - name: info
        method: GET
        description: ✨ Get billing info
        inputParameters:
        - name: Authorization
          in: header
          type: string
          required: true
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-comments
      path: /api/comments/
      operations:
      - name: list
        method: GET
        description: ✨ List comments
        inputParameters:
        - name: annotation
          in: query
          type: integer
        - name: annotators
          in: query
          type: string
        - name: draft
          in: query
          type: integer
        - name: expand_created_by
          in: query
          type: boolean
        - name: ordering
          in: query
          type: string
          description: Which field to use when ordering the results.
        - name: projects
          in: query
          type: string
        - name: Authorization
          in: header
          type: string
          required: true
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: create
        method: POST
        description: ✨ Create comment
        inputParameters:
        - name: expand_created_by
          in: query
          type: boolean
          description: Expand the created_by field
        - name: Authorization
          in: header
          type: string
          required: true
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-comments-export
      path: /api/comments/export/
      operations:
      - name: export
        method: GET
        description: ✨ Export comments to CSV
        inputParameters:
        - name: annotation
          in: query
          type: integer
        - name: annotators
          in: query
          type: string
        - name: draft
          in: query
          type: integer
        - name: expand_created_by
          in: query
          type: boolean
        - name: projects
          in: query
          type: string
        - name: tz
          in: query
          type: string
          description: Timezone in which to export the data. Format IANA timezone name, e.g. "America/New_York"
        - name: Authorization
          in: header
          type: string
          required: true
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-comments-id
      path: /api/comments/{id}/
      operations:
      - name: get
        method: GET
        description: ✨ Get comment
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        - name: expand_created_by
          in: query
          type: boolean
          description: Expand the created_by field
        - name: Authorization
          in: header
          type: string
          required: true
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: delete
        method: DELETE
        description: ✨ Delete comment
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        - name: expand_created_by
          in: query
          type: boolean
          description: Expand the created_by field
        - name: Authorization
          in: header
          type: string
          required: true
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: update
        method: PATCH
        description: ✨ Update comment
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        - name: expand_created_by
          in: query
          type: boolean
          description: Expand the created_by field
        - name: Authorization
          in: header
          type: string
          required: true
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-current-user
      path: /api/current-user
      operations:
      - name: get-current-user
        method: GET
        description: ✨ Get current user info
        inputParameters:
        - name: Authorization
          in: header
          type: string
          required: true
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: update-current-user
        method: PATCH
        description: ✨ Update current user
        inputParameters:
        - name: Authorization
          in: header
          type: string
          required: true
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-current-user-hotkeys
      path: /api/current-user/hotkeys/
      operations:
      - name: get-hotkeys
        method: GET
        description: Get user hotkeys
        inputParameters:
        - name: Authorization
          in: header
          type: string
          required: true
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: update-hotkeys
        method: PATCH
        description: Update user hotkeys
        inputParameters:
        - name: Authorization
          in: header
          type: string
          required: true
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-current-user-reset-token
      path: /api/current-user/reset-token/
      operations:
      - name: reset-token
        method: POST
        description: Reset user token
        inputParameters:
        - name: Authorization
          in: header
          type: string
          required: true
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-current-user-token
      path: /api/current-user/token
      operations:
      - name: get-token
        method: GET
        description: Get user token
        inputParameters:
        - name: Authorization
          in: header
          type: string
          required: true
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-current-user-whoami
      path: /api/current-user/whoami
      operations:
      - name: whoami
        method: GET
        description: Retrieve my user
        inputParameters:
        - name: Authorization
          in: header
          type: string
          required: true
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-users
      path: /api/users/
      operations:
      - name: list
        method: GET
        description: List users
        inputParameters:
        - name: ordering
          in: query
          type: string
          description: Which field to use when ordering the results.
        - name: Authorization
          in: header
          type: string
          required: true
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: create
        method: POST
        description: Create new user
        inputParameters:
        - name: Authorization
          in: header
          type: string
          required: true
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-users-id
      path: /api/users/{id}/
      operations:
      - name: get
        method: GET
        description: Get user info
        inputParameters:
        - name: id
          in: path
          type: integer
          required: true
          description: User ID
        - name: Authorization
          in: header
          type: string
          required: true
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: delete
        method: DELETE
        description: Delete user
        inputParameters:
        - name: id
          in: path
          type: integer
          required: true
          description: User ID
        - name: Authorization
          in: header
          type: string
          required: true
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: update
        method: PATCH
        description: Update user details
        inputParameters:
        - name: id
          in: path
          type: integer
          required: true
          description: User ID
        - name: Authorization
          in: header
          type: string
          required: true
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-dimensions-backfill
      path: /api/dimensions/backfill/
      operations:
      - name: trigger-backfill
        method: POST
        description: ✨ Trigger Agreement V2 backfill
        inputParameters:
        - name: Authorization
          in: header
          type: string
          required: true
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: cancel-backfill
        method: DELETE
        description: ✨ Cancel Agreement V2 backfill jobs
        inputParameters:
        - name: job_id
          in: query
          type: integer
          description: Optional specific job ID to cancel
        - name: project_id
          in: query
          type: integer
          description: Optional project ID to cancel its active backfill jobs
        - name: Authorization
          in: header
          type: string
          required: true
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-dimensions-backfill-jobs
      path: /api/dimensions/backfill/jobs/
      operations:
      - name: list-backfills
        method: GET
        description: ✨ List Agreement V2 backfill jobs
        inputParameters:
        - name: status
          in: query
          type: string
          description: 'Filter by job status: PENDING, QUEUED, RUNNING, COMPLETED, or FAILED.'
        - name: Authorization
          in: header
          type: string
          required: true
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-dimensions-backfill-status
      path: /api/dimensions/backfill/status/
      operations:
      - name: get-backfill-status
        method: GET
        description: ✨ Get Agreement V2 backfill status
        inputParameters:
        - name: job_id
          in: query
          type: integer
          description: Optional job ID to retrieve specific job status
        - name: project_id
          in: query
          type: integer
          description: Optional project ID to retrieve the latest backfill status for that project. If omitted, returns aggregated
            organization status.
        - name: Authorization
          in: header
          type: string
          required: true
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-projects-project-pk-dimensions
      path: /api/projects/{project_pk}/dimensions/
      operations:
      - name: list
        method: GET
        description: ✨ List dimensions
        inputParameters:
        - name: project_pk
          in: path
          type: integer
          required: true
          description: Project ID
        - name: agreement_methodology
          in: query
          type: string
          description: 'Agreement methodology to use for computing allowed_metrics_with_params. If not provided, uses the
            methodology stored in the project settings. Valid values: "pai'
        - name: is_active
          in: query
          type: boolean
          description: Filter by active status
        - name: ordering
          in: query
          type: string
          description: Which field to use when ordering the results.
        - name: Authorization
          in: header
          type: string
          required: true
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-projects-project-pk-dimensions-id
      path: /api/projects/{project_pk}/dimensions/{id}/
      operations:
      - name: get
        method: GET
        description: ✨ Get dimension
        inputParameters:
        - name: id
          in: path
          type: integer
          required: true
          description: Dimension ID
        - name: project_pk
        

# --- truncated at 32 KB (93 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/label-studio/refs/heads/main/capabilities/label-studio-capability.yaml