Skip to main content
GET
Classify the service a stack profile runs

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

profile_id
string<uuid>
required

Response

The classification, or why none could be made

What kind of managed service a stack profile's latest version runs. When available is true every other member except unavailable_reason is present (null where it does not apply); when it is false only unavailable_reason is.

available
boolean
required

Whether a validated classification was made.

unavailable_reason
enum<string>

Only when available is false. no_addons: the latest version has no add-ons, and the model was not asked. spec_unreadable: the latest version's stored specification could not be read, so whether it has add-ons is unknown, and the model was not asked. allowance_exhausted: the monthly AI allowance or billing standing refused the call. ai_unavailable: no model can serve the lane for this organisation. model_error: the call failed or its answer did not validate.

Available options:
no_addons,
spec_unreadable,
allowance_exhausted,
ai_unavailable,
model_error
profile_version_id
string<uuid>

The latest version, the one classified.

verdict
enum<string>

engine: a data engine applications connect to over a supported protocol (wire-compatible engines included). unsupported_engine: something applications connect to that Ankra has no protocol for. application: a tool people use or cluster infrastructure. unclear: the model could not tell.

Available options:
engine,
unsupported_engine,
application,
unclear
protocol
enum<string> | null

The protocol applications connect over; set only for the engine verdict.

Available options:
postgres,
redis,
nats,
opensearch,
s3,
victorialogs,
victoriametrics,
null
engine
string | null

The engine's common name (for example PostgreSQL or Apache Kafka), at most 80 characters, for the two engine verdicts; otherwise null.

addon
string | null

The name of the profile add-on that runs it, exactly as the profile spells it, or null.

confidence
enum<string>
Available options:
high,
medium,
low
reason
string

One plain sentence, at most 280 characters.