Skip to content
DaneshyarDocs
Sign in
  • Introduction
  • Quickstart
  • API keys
  • Authentication
  • Apps, workspaces, resources
  • Ingestion
  • Chat and sessions
  • Citations
  • Skills
  • Conventions
  • Workspaces
  • Resources
  • Chat
  • Skills
  • Errors
  • Customer support assistant
  • Internal knowledge base
  • Documentation chatbot
  • Embedded widgetOn the roadmap: Soon
  • TypeScript SDKOn the roadmap: Soon
  1. Docs
  2. Concepts
  3. Skills

Skills

Prompt presets you can attach to a question.

A skill is a saved instruction you can attach to a question — a tone, a format, a role for the model to answer in.

What a skill is

Each skill carries a core_prompt that gets appended to the system prompt for that one generation. It changes how the question is answered; it does not change what can be retrieved.

A skill applies to a single message, not to a thread. Send skill_id on every turn you want it to affect — reopening a conversation later cannot tell you which skill answered it.

Scope

Skills are defined at one of three levels:

  • Global — provided by the platform for a vertical, and read-only.
  • Application — authored in your app, usable from every workspace under it.
  • Workspace — authored for one workspace, usable only there.

The list endpoint returns the union of workspace-scoped and app-scoped skills, so what you get back is exactly what that workspace may use. A skill_id from another app is rejected rather than silently ignored.

Using one

Fetch the list, offer the titles as options, and pass the chosen id as skill_id when you send a message. Skills are optional decoration: a chat works identically without one, so never make the list a precondition for asking a question.

cURL
JavaScript
Python
curl "https://api.daneshyar.info/api/v1/workspaces/8f14e45f-ceea-467a-9f4c-1a2b3c4d5e6f/skills/" \
  -H "X-API-Key: dk_live_9f3aC2xQ7mB1vT8sE4nK6pR0jY5wZ2hL"
PreviousCitationsNextConventions

On this page

  • What a skill is
  • Scope
  • Using one

Every example on this site runs against the live API. If one doesn't, tell us — that's a bug in the docs.

ServicesAboutTalk to us