Ga naar inhoud

Prudai Developer API: organisation skills

De operaties van dit onderdeel (Organisation skills).

Basis-URL https://api.prudai.com/v1. Inloggen staat in Inloggen, scopes in Scopes en rechten, fouten in Fouten. Overzicht.

MethodePadWat het doetStand
GET/v1/org-skillsList published office proceduresOp productie
GET/v1/org-skills/{id}Read a published office procedureOp productie
POST/v1/skillsCreate an organisation skill draftBinnenkort
PUT/v1/skills/{name}Edit an organisation skill; its published version stays live until the replacement is publishedBinnenkort
DELETE/v1/skills/{name}Soft delete an organisation skillBinnenkort
POST/v1/skills/{name}/archiveArchive an organisation skillBinnenkort
POST/v1/skills/{name}/publishPublish an organisation skillBinnenkort
POST/v1/skills/{name}/restoreRestore an organisation skill as a draftBinnenkort
GET/v1/skills/{name}/versionsList publication version metadataOp productie
POST/v1/skills/{name}/versions/{version}/restoreRestore a publication version for editing; the current publication stays liveBinnenkort
POST/v1/skills/testEstimate skill relevance without writingOp productie

List published office procedures

GET /v1/org-skills

Metadata only, ordered by name and id ascending. The organisation comes from the authenticated credential. Every role, including owners and admins, sees only published, non-deleted procedures. Use getOrgSkill to retrieve a body.

  • Stand: op productie.
  • Scope: prudai:org_skills:read
  • Goedkeuring: none, geen extra stap.

Parameters

  • limit query · integer
    standaard: 25 · min. 1 · max. 50
  • cursor query · string
    Opaque position from next_cursor; keep the same limit. max. lengte 200

Antwoorden

StatusBetekenis
200Published metadata page with an exact total and explicit continuation.
400Malformed request or unsupported parameter (for example client-sent tools).
401Missing, malformed, unknown, expired or revoked key, or a key used against the wrong environment.
403Authenticated, but not allowed (missing scope, product not on the key or organisation, organisation suspended, Developer API switched off for the organisation, IP not on the allowlist, depth not permitted, licence does not permit redistribution).
422Well-formed request with invalid values (for example an unknown reasoning_effort, empty messages, or an Idempotency-Key reused with a different body).
429Rate limit, concurrency limit, Ultra daily quota or fair-use limit of the free sources operations exceeded.
500Unexpected error on Prudai’s side. Not charged, except work that completed before the failure (reported in details.charged_credits).

Velden in data (200)

  • object string
    list
  • data array<OrgSkillMetadata>
  • data[].id string (uuid)
  • data[].object string
    org_skill
  • data[].name string
    min. lengte 3 · max. lengte 40
  • data[].description string
    max. lengte 220
  • data[].triggers array<string>
  • data[].products string or array<string>
  • data[].requires_tools array<string>
  • data[].status string
    published
  • data[].version integer
    min. 1
  • data[].updated_at string (date-time)
  • has_more boolean
  • next_cursor string
    max. lengte 200 · kan null zijn
curl
curl -s "https://api.prudai.com/v1/org-skills" \
-H "Authorization: Bearer $PRUDAI_TOKEN"
CLI (binnenkort)
prudai leo org-skills list
Antwoord 200
{
"object": "list",
"data": [
{
"id": "00000000-0000-4000-8000-000000000000",
"object": "org_skill",
"name": "string",
"description": "string",
"triggers": [
"string"
],
"products": "all",
"requires_tools": [
"string"
],
"status": "published",
"version": 1,
"updated_at": "2026-11-05T09:30:00.000Z"
}
],
"has_more": false,
"next_cursor": "string"
}

Read a published office procedure

GET /v1/org-skills/{id}

Includes the published body. Unknown, foreign-organisation, draft, archived and deleted procedures return the same 404 document_not_found for every role. Use /skills with org:<slug> names for management, testing and publication.

  • Stand: op productie.
  • Scope: prudai:org_skills:read
  • Goedkeuring: none, geen extra stap.

Parameters

  • id path · string (uuid) verplicht

Antwoorden

StatusBetekenis
200The published procedure.
400Malformed request or unsupported parameter (for example client-sent tools).
401Missing, malformed, unknown, expired or revoked key, or a key used against the wrong environment.
403Authenticated, but not allowed (missing scope, product not on the key or organisation, organisation suspended, Developer API switched off for the organisation, IP not on the allowlist, depth not permitted, licence does not permit redistribution).
404Unknown model, source or document.
422Well-formed request with invalid values (for example an unknown reasoning_effort, empty messages, or an Idempotency-Key reused with a different body).
429Rate limit, concurrency limit, Ultra daily quota or fair-use limit of the free sources operations exceeded.
500Unexpected error on Prudai’s side. Not charged, except work that completed before the failure (reported in details.charged_credits).

Velden in data (200)

  • id string (uuid)
  • object string
    org_skill
  • name string
    min. lengte 3 · max. lengte 40
  • description string
    max. lengte 220
  • triggers array<string>
  • products string or array<string>
  • requires_tools array<string>
  • status string
    published
  • version integer
    min. 1
  • updated_at string (date-time)
  • body string
    max. lengte 6000
curl
curl -s "https://api.prudai.com/v1/org-skills/<id>" \
-H "Authorization: Bearer $PRUDAI_TOKEN"
CLI (binnenkort)
prudai leo org-skills get
Antwoord 200
{
"id": "00000000-0000-4000-8000-000000000000",
"object": "org_skill",
"name": "string",
"description": "string",
"triggers": [
"string"
],
"products": "all",
"requires_tools": [
"string"
],
"status": "published",
"version": 1,
"updated_at": "2026-11-05T09:30:00.000Z",
"body": "string"
}

Create an organisation skill draft

POST /v1/skills

Personal credentials only. The current organisation Owner/Admin role is rechecked before approval and execution. All writes are limited to the org namespace; Prudai skills cannot be modified.

  • Stand: binnenkort, nog niet op productie.
  • Scope: prudai:org_skills:write
  • Goedkeuring: confirm, de gebruiker bevestigt precies deze aanroep.

Body

JSON, verplicht.

  • name string verplicht
    min. lengte 3 · max. lengte 40 · patroon ^[a-z0-9][a-z0-9-]{1,38}[a-z0-9]$
  • description string verplicht
    One-line statement of when the user needs this procedure (NL, EN or DE). max. lengte 220
  • body string verplicht
    max. lengte 6000
  • triggers array<string> verplicht
  • products string or array<string>
  • requires_tools array<string>

Antwoorden

StatusBetekenis
200Result in the task envelope.
202Existing approval request; decide in the Console and replay the exact request with X-Prudai-Approval.
401Missing, malformed, unknown, expired or revoked key, or a key used against the wrong environment.
403Authenticated, but not allowed (missing scope, product not on the key or organisation, organisation suspended, Developer API switched off for the organisation, IP not on the allowlist, depth not permitted, licence does not permit redistribution).
404Unknown model, source or document.
409Current state or name conflicts with the request.
422Well-formed request with invalid values (for example an unknown reasoning_effort, empty messages, or an Idempotency-Key reused with a different body).

Velden in data (200)

  • id string (uuid)
  • object string
    org_skill
  • namespace string
    org
  • name string
    patroon ^org:
  • description string
  • triggers array<string>
  • products string or array<string>
  • requires_tools array<string>
  • body string
  • status string
    Een van: draft, published, archived
  • version integer
    min. 0
  • updated_at string (date-time)
  • deleted_at string (date-time)
    kan null zijn
curl
curl -s -X POST "https://api.prudai.com/v1/skills" \
-H "Authorization: Bearer $PRUDAI_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "string",
"description": "string",
"body": "string",
"triggers": [
"string"
],
"products": "all",
"requires_tools": [
"string"
]
}'
CLI (binnenkort)
prudai leo skills create
Antwoord 200
{
"id": "00000000-0000-4000-8000-000000000000",
"object": "org_skill",
"namespace": "org",
"name": "string",
"description": "string",
"triggers": [
"string"
],
"products": "all",
"requires_tools": [
"string"
],
"body": "string",
"status": "draft",
"version": 1,
"updated_at": "2026-11-05T09:30:00.000Z",
"deleted_at": "2026-11-05T09:30:00.000Z"
}

Edit an organisation skill; its published version stays live until the replacement is published

PUT /v1/skills/{name}

Personal credentials only. The current organisation Owner/Admin role is rechecked before approval and execution. All writes are limited to the org namespace; Prudai skills cannot be modified.

  • Stand: binnenkort, nog niet op productie.
  • Scope: prudai:org_skills:write
  • Goedkeuring: confirm, de gebruiker bevestigt precies deze aanroep.

Parameters

  • name path · string verplicht
    patroon ^org:[a-z0-9][a-z0-9-]{1,38}[a-z0-9]$

Body

JSON, verplicht.

  • name string verplicht
    min. lengte 3 · max. lengte 40 · patroon ^[a-z0-9][a-z0-9-]{1,38}[a-z0-9]$
  • description string verplicht
    One-line statement of when the user needs this procedure (NL, EN or DE). max. lengte 220
  • body string verplicht
    max. lengte 6000
  • triggers array<string> verplicht
  • products string or array<string>
  • requires_tools array<string>

Antwoorden

StatusBetekenis
200Result in the task envelope.
202Existing approval request; decide in the Console and replay the exact request with X-Prudai-Approval.
401Missing, malformed, unknown, expired or revoked key, or a key used against the wrong environment.
403Authenticated, but not allowed (missing scope, product not on the key or organisation, organisation suspended, Developer API switched off for the organisation, IP not on the allowlist, depth not permitted, licence does not permit redistribution).
404Unknown model, source or document.
409Current state or name conflicts with the request.
422Well-formed request with invalid values (for example an unknown reasoning_effort, empty messages, or an Idempotency-Key reused with a different body).

Velden in data (200)

  • id string (uuid)
  • object string
    org_skill
  • namespace string
    org
  • name string
    patroon ^org:
  • description string
  • triggers array<string>
  • products string or array<string>
  • requires_tools array<string>
  • body string
  • status string
    Een van: draft, published, archived
  • version integer
    min. 0
  • updated_at string (date-time)
  • deleted_at string (date-time)
    kan null zijn
curl
curl -s -X PUT "https://api.prudai.com/v1/skills/<name>" \
-H "Authorization: Bearer $PRUDAI_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "string",
"description": "string",
"body": "string",
"triggers": [
"string"
],
"products": "all",
"requires_tools": [
"string"
]
}'
CLI (binnenkort)
prudai leo skills update
Antwoord 200
{
"id": "00000000-0000-4000-8000-000000000000",
"object": "org_skill",
"namespace": "org",
"name": "string",
"description": "string",
"triggers": [
"string"
],
"products": "all",
"requires_tools": [
"string"
],
"body": "string",
"status": "draft",
"version": 1,
"updated_at": "2026-11-05T09:30:00.000Z",
"deleted_at": "2026-11-05T09:30:00.000Z"
}

Soft delete an organisation skill

DELETE /v1/skills/{name}

Personal credentials only. The current organisation Owner/Admin role is rechecked before approval and execution. All writes are limited to the org namespace; Prudai skills cannot be modified.

  • Stand: binnenkort, nog niet op productie.
  • Scope: prudai:org_skills:delete
  • Goedkeuring: review, een tweede persoon of rol keurt goed.
  • Verwijderen is zacht; zie Conventies.

Parameters

  • name path · string verplicht
    patroon ^org:[a-z0-9][a-z0-9-]{1,38}[a-z0-9]$

Antwoorden

StatusBetekenis
200Result in the task envelope.
202Existing approval request; decide in the Console and replay the exact request with X-Prudai-Approval.
401Missing, malformed, unknown, expired or revoked key, or a key used against the wrong environment.
403Authenticated, but not allowed (missing scope, product not on the key or organisation, organisation suspended, Developer API switched off for the organisation, IP not on the allowlist, depth not permitted, licence does not permit redistribution).
404Unknown model, source or document.
409Current state or name conflicts with the request.
422Well-formed request with invalid values (for example an unknown reasoning_effort, empty messages, or an Idempotency-Key reused with a different body).

Velden in data (200)

  • id string (uuid)
  • object string
    org_skill
  • namespace string
    org
  • name string
    patroon ^org:
  • description string
  • triggers array<string>
  • products string or array<string>
  • requires_tools array<string>
  • body string
  • status string
    Een van: draft, published, archived
  • version integer
    min. 0
  • updated_at string (date-time)
  • deleted_at string (date-time)
    kan null zijn
curl
curl -s -X DELETE "https://api.prudai.com/v1/skills/<name>" \
-H "Authorization: Bearer $PRUDAI_TOKEN"
CLI (binnenkort)
prudai leo skills delete
Antwoord 200
{
"id": "00000000-0000-4000-8000-000000000000",
"object": "org_skill",
"namespace": "org",
"name": "string",
"description": "string",
"triggers": [
"string"
],
"products": "all",
"requires_tools": [
"string"
],
"body": "string",
"status": "draft",
"version": 1,
"updated_at": "2026-11-05T09:30:00.000Z",
"deleted_at": "2026-11-05T09:30:00.000Z"
}

Archive an organisation skill

POST /v1/skills/{name}/archive

Personal credentials only. The current organisation Owner/Admin role is rechecked before approval and execution. All writes are limited to the org namespace; Prudai skills cannot be modified.

  • Stand: binnenkort, nog niet op productie.
  • Scope: prudai:org_skills:write
  • Goedkeuring: confirm, de gebruiker bevestigt precies deze aanroep.

Parameters

  • name path · string verplicht
    patroon ^org:[a-z0-9][a-z0-9-]{1,38}[a-z0-9]$

Body

JSON, verplicht.

Antwoorden

StatusBetekenis
200Result in the task envelope.
202Existing approval request; decide in the Console and replay the exact request with X-Prudai-Approval.
401Missing, malformed, unknown, expired or revoked key, or a key used against the wrong environment.
403Authenticated, but not allowed (missing scope, product not on the key or organisation, organisation suspended, Developer API switched off for the organisation, IP not on the allowlist, depth not permitted, licence does not permit redistribution).
404Unknown model, source or document.
409Current state or name conflicts with the request.
422Well-formed request with invalid values (for example an unknown reasoning_effort, empty messages, or an Idempotency-Key reused with a different body).

Velden in data (200)

  • id string (uuid)
  • object string
    org_skill
  • namespace string
    org
  • name string
    patroon ^org:
  • description string
  • triggers array<string>
  • products string or array<string>
  • requires_tools array<string>
  • body string
  • status string
    Een van: draft, published, archived
  • version integer
    min. 0
  • updated_at string (date-time)
  • deleted_at string (date-time)
    kan null zijn
curl
curl -s -X POST "https://api.prudai.com/v1/skills/<name>/archive" \
-H "Authorization: Bearer $PRUDAI_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'
CLI (binnenkort)
prudai leo skills archive
Antwoord 200
{
"id": "00000000-0000-4000-8000-000000000000",
"object": "org_skill",
"namespace": "org",
"name": "string",
"description": "string",
"triggers": [
"string"
],
"products": "all",
"requires_tools": [
"string"
],
"body": "string",
"status": "draft",
"version": 1,
"updated_at": "2026-11-05T09:30:00.000Z",
"deleted_at": "2026-11-05T09:30:00.000Z"
}

Publish an organisation skill

POST /v1/skills/{name}/publish

Personal credentials only. The current organisation Owner/Admin role is rechecked before approval and execution. All writes are limited to the org namespace; Prudai skills cannot be modified.

  • Stand: binnenkort, nog niet op productie.
  • Scope: prudai:org_skills:write
  • Goedkeuring: review, een tweede persoon of rol keurt goed.

Parameters

  • name path · string verplicht
    patroon ^org:[a-z0-9][a-z0-9-]{1,38}[a-z0-9]$

Body

JSON, verplicht.

Antwoorden

StatusBetekenis
200Result in the task envelope.
202Existing approval request; decide in the Console and replay the exact request with X-Prudai-Approval.
401Missing, malformed, unknown, expired or revoked key, or a key used against the wrong environment.
403Authenticated, but not allowed (missing scope, product not on the key or organisation, organisation suspended, Developer API switched off for the organisation, IP not on the allowlist, depth not permitted, licence does not permit redistribution).
404Unknown model, source or document.
409Current state or name conflicts with the request.
422Well-formed request with invalid values (for example an unknown reasoning_effort, empty messages, or an Idempotency-Key reused with a different body).

Velden in data (200)

  • id string (uuid)
  • object string
    org_skill
  • namespace string
    org
  • name string
    patroon ^org:
  • description string
  • triggers array<string>
  • products string or array<string>
  • requires_tools array<string>
  • body string
  • status string
    Een van: draft, published, archived
  • version integer
    min. 0
  • updated_at string (date-time)
  • deleted_at string (date-time)
    kan null zijn
curl
curl -s -X POST "https://api.prudai.com/v1/skills/<name>/publish" \
-H "Authorization: Bearer $PRUDAI_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'
CLI (binnenkort)
prudai leo skills publish
Antwoord 200
{
"id": "00000000-0000-4000-8000-000000000000",
"object": "org_skill",
"namespace": "org",
"name": "string",
"description": "string",
"triggers": [
"string"
],
"products": "all",
"requires_tools": [
"string"
],
"body": "string",
"status": "draft",
"version": 1,
"updated_at": "2026-11-05T09:30:00.000Z",
"deleted_at": "2026-11-05T09:30:00.000Z"
}

Restore an organisation skill as a draft

POST /v1/skills/{name}/restore

Personal credentials only. The current organisation Owner/Admin role is rechecked before approval and execution. All writes are limited to the org namespace; Prudai skills cannot be modified.

  • Stand: binnenkort, nog niet op productie.
  • Scope: prudai:org_skills:write
  • Goedkeuring: confirm, de gebruiker bevestigt precies deze aanroep.

Parameters

  • name path · string verplicht
    patroon ^org:[a-z0-9][a-z0-9-]{1,38}[a-z0-9]$

Body

JSON, verplicht.

Antwoorden

StatusBetekenis
200Result in the task envelope.
202Existing approval request; decide in the Console and replay the exact request with X-Prudai-Approval.
401Missing, malformed, unknown, expired or revoked key, or a key used against the wrong environment.
403Authenticated, but not allowed (missing scope, product not on the key or organisation, organisation suspended, Developer API switched off for the organisation, IP not on the allowlist, depth not permitted, licence does not permit redistribution).
404Unknown model, source or document.
409Current state or name conflicts with the request.
422Well-formed request with invalid values (for example an unknown reasoning_effort, empty messages, or an Idempotency-Key reused with a different body).

Velden in data (200)

  • id string (uuid)
  • object string
    org_skill
  • namespace string
    org
  • name string
    patroon ^org:
  • description string
  • triggers array<string>
  • products string or array<string>
  • requires_tools array<string>
  • body string
  • status string
    Een van: draft, published, archived
  • version integer
    min. 0
  • updated_at string (date-time)
  • deleted_at string (date-time)
    kan null zijn
curl
curl -s -X POST "https://api.prudai.com/v1/skills/<name>/restore" \
-H "Authorization: Bearer $PRUDAI_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'
CLI (binnenkort)
prudai leo skills restore
Antwoord 200
{
"id": "00000000-0000-4000-8000-000000000000",
"object": "org_skill",
"namespace": "org",
"name": "string",
"description": "string",
"triggers": [
"string"
],
"products": "all",
"requires_tools": [
"string"
],
"body": "string",
"status": "draft",
"version": 1,
"updated_at": "2026-11-05T09:30:00.000Z",
"deleted_at": "2026-11-05T09:30:00.000Z"
}

List publication version metadata

GET /v1/skills/{name}/versions

Personal credentials only. The current organisation Owner/Admin role is rechecked before approval and execution. All writes are limited to the org namespace; Prudai skills cannot be modified.

  • Stand: op productie.
  • Scope: prudai:skills:read
  • Goedkeuring: none, geen extra stap.

Parameters

  • name path · string verplicht
    patroon ^org:[a-z0-9][a-z0-9-]{1,38}[a-z0-9]$
  • limit query · integer
    standaard: 20 · min. 1 · max. 100
  • cursor query · string
    patroon ^[1-9]\d*$

Antwoorden

StatusBetekenis
200Result in the task envelope.
401Missing, malformed, unknown, expired or revoked key, or a key used against the wrong environment.
403Authenticated, but not allowed (missing scope, product not on the key or organisation, organisation suspended, Developer API switched off for the organisation, IP not on the allowlist, depth not permitted, licence does not permit redistribution).
404Unknown model, source or document.
409Current state or name conflicts with the request.
422Well-formed request with invalid values (for example an unknown reasoning_effort, empty messages, or an Idempotency-Key reused with a different body).
curl
curl -s "https://api.prudai.com/v1/skills/<name>/versions" \
-H "Authorization: Bearer $PRUDAI_TOKEN"
CLI (binnenkort)
prudai leo skills-versions list

Restore a publication version for editing; the current publication stays live

POST /v1/skills/{name}/versions/{version}/restore

Personal credentials only. The current organisation Owner/Admin role is rechecked before approval and execution. All writes are limited to the org namespace; Prudai skills cannot be modified.

  • Stand: binnenkort, nog niet op productie.
  • Scope: prudai:org_skills:write
  • Goedkeuring: confirm, de gebruiker bevestigt precies deze aanroep.

Parameters

  • name path · string verplicht
    patroon ^org:[a-z0-9][a-z0-9-]{1,38}[a-z0-9]$
  • version path · integer verplicht
    min. 1

Body

JSON, verplicht.

Antwoorden

StatusBetekenis
200Result in the task envelope.
202Existing approval request; decide in the Console and replay the exact request with X-Prudai-Approval.
401Missing, malformed, unknown, expired or revoked key, or a key used against the wrong environment.
403Authenticated, but not allowed (missing scope, product not on the key or organisation, organisation suspended, Developer API switched off for the organisation, IP not on the allowlist, depth not permitted, licence does not permit redistribution).
404Unknown model, source or document.
409Current state or name conflicts with the request.
422Well-formed request with invalid values (for example an unknown reasoning_effort, empty messages, or an Idempotency-Key reused with a different body).

Velden in data (200)

  • id string (uuid)
  • object string
    org_skill
  • namespace string
    org
  • name string
    patroon ^org:
  • description string
  • triggers array<string>
  • products string or array<string>
  • requires_tools array<string>
  • body string
  • status string
    Een van: draft, published, archived
  • version integer
    min. 0
  • updated_at string (date-time)
  • deleted_at string (date-time)
    kan null zijn
curl
curl -s -X POST "https://api.prudai.com/v1/skills/<name>/versions/1/restore" \
-H "Authorization: Bearer $PRUDAI_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'
CLI (binnenkort)
prudai leo skills-versions restore
Antwoord 200
{
"id": "00000000-0000-4000-8000-000000000000",
"object": "org_skill",
"namespace": "org",
"name": "string",
"description": "string",
"triggers": [
"string"
],
"products": "all",
"requires_tools": [
"string"
],
"body": "string",
"status": "draft",
"version": 1,
"updated_at": "2026-11-05T09:30:00.000Z",
"deleted_at": "2026-11-05T09:30:00.000Z"
}

Estimate skill relevance without writing

POST /v1/skills/test

Personal credentials only. The current organisation Owner/Admin role is rechecked before approval and execution. All writes are limited to the org namespace; Prudai skills cannot be modified.

  • Stand: op productie.
  • Scope: prudai:skills:read
  • Goedkeuring: none, geen extra stap.

Body

JSON, verplicht.

  • skill OrgSkillInput verplicht
  • skill.name string verplicht
    min. lengte 3 · max. lengte 40 · patroon ^[a-z0-9][a-z0-9-]{1,38}[a-z0-9]$
  • skill.description string verplicht
    One-line statement of when the user needs this procedure (NL, EN or DE). max. lengte 220
  • skill.body string verplicht
    max. lengte 6000
  • skill.triggers array<string> verplicht
  • skill.products string or array<string>
  • skill.requires_tools array<string>
  • question string verplicht
    max. lengte 2000
  • product string verplicht
    Exact product slug. Runtime product and staff restrictions still apply. Een van: leo, leo-fiscaal, zia, vera, bever, maia, irma

Antwoorden

StatusBetekenis
200Result in the task envelope.
401Missing, malformed, unknown, expired or revoked key, or a key used against the wrong environment.
403Authenticated, but not allowed (missing scope, product not on the key or organisation, organisation suspended, Developer API switched off for the organisation, IP not on the allowlist, depth not permitted, licence does not permit redistribution).
404Unknown model, source or document.
409Current state or name conflicts with the request.
422Well-formed request with invalid values (for example an unknown reasoning_effort, empty messages, or an Idempotency-Key reused with a different body).
curl
curl -s -X POST "https://api.prudai.com/v1/skills/test" \
-H "Authorization: Bearer $PRUDAI_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"skill": {
"name": "string",
"description": "string",
"body": "string",
"triggers": [
"string"
],
"products": "all",
"requires_tools": [
"string"
]
},
"question": "string",
"product": "leo"
}'
CLI (binnenkort)
prudai leo skills test