Skip to main content
GET /api/skills/{skill_id} returns the full definition of a single Skill, including its parameter schema and output schema. Use this endpoint to understand exactly which parameters a Skill expects before calling POST /v1/skills/run, or to render a dynamic form in your own application that drives Skill execution.

Endpoint

Authentication

This endpoint requires a session token, not an API key. Pass your JWT in the Authorization header:
To get a session token, call POST /api/auth/login with your email and password. The response includes a token field, use that here.

Path Parameters

string
required
The unique identifier of the Skill to retrieve. Skill IDs follow the format skl_.... Retrieve a full list of your Skill IDs from GET /api/skills.

Example Request

Response

A successful request returns HTTP 200 with a single Skill object containing the following fields.

Core Fields

string
The Skill’s unique identifier (skl_...).
string
Human-readable name of the Skill.
string
A plain-English description of what the Skill does, as configured when the Skill was created.
string
The currently active published version of the Skill. Valendata uses semantic versioning. When you publish an updated Skill, the version increments and prior API calls remain unaffected.
string
ISO 8601 UTC timestamp of when the Skill was first created.

Parameter Schema

array
An array of parameter definition objects that describe every input the Skill accepts. Each object contains the following fields:

Output Schema

object
A JSON Schema object that defines the structure of the data array returned by every run of this Skill. Valendata enforces this schema on each run: if the agent cannot produce output that matches the schema, the run fails cleanly rather than returning malformed data.Use this schema to validate run output in your own code or to auto-generate TypeScript types for the Skill’s response.

Example Response

Error Handling

A Skill must be published to appear via the API. Skills that are saved as drafts in the dashboard are not returned by this endpoint or by GET /api/skills.