naftiko: 1.0.0-alpha2
info:
label: API Reference — subpackage_states
description: 'API Reference — subpackage_states. 6 operations. Lead operation: ✨ Trigger state backfill for organization.
Self-contained Naftiko capability covering one Label Studio business surface.'
tags:
- Label Studio
- subpackage_states
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
LABEL_STUDIO_API_KEY: LABEL_STUDIO_API_KEY
capability:
consumes:
- type: http
namespace: label-studio-subpackage-states
baseUri: http://localhost:8000
description: API Reference — subpackage_states business capability. Self-contained, no shared references.
resources:
- name: api-fsm-backfill
path: /api/fsm/backfill/
operations:
- name: triggerbackfill
method: POST
description: ✨ Trigger state backfill for organization
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: project_id
in: query
type: integer
description: Optional project ID to trigger backfill for a single project
- name: Authorization
in: header
type: string
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: