naftiko: 1.0.0-alpha2
info:
label: API Reference — subpackage_predictions
description: 'API Reference — subpackage_predictions. 5 operations. Lead operation: List predictions. Self-contained Naftiko
capability covering one Label Studio business surface.'
tags:
- Label Studio
- subpackage_predictions
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-predictions
baseUri: http://localhost:8000
description: API Reference — subpackage_predictions business capability. Self-contained, no shared references.
resources:
- name: api-predictions
path: /api/predictions/
operations:
- name: list
method: GET
description: List predictions
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: project
in: query
type: integer
description: Filter predictions by project ID
- name: task
in: query
type: integer
description: Filter predictions by task ID
- 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: