Ga naar inhoud

Prudai Developer API: spraakmemo's

Own audio recordings, their transcription and assignment within the person’s current rights. Personal credentials only; service keys never receive these scopes.

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/voice-memosList own voice memosBinnenkort
POST/v1/voice-memosUpload an own voice memoBinnenkort
GET/v1/voice-memos/{id}Read an own voice memo and transcriptBinnenkort
PATCH/v1/voice-memos/{id}Assign or move an own voice memoBinnenkort
DELETE/v1/voice-memos/{id}Move an own voice memo to trashBinnenkort
POST/v1/voice-memos/{id}/restoreRestore an own voice memoBinnenkort
GET/v1/voice-memos/{id}/suggestionsSuggest destinations for an own voice memoBinnenkort

List own voice memos

GET /v1/voice-memos

Newest first, never another person’s memo. Unassigned is the default inbox filter. Lists omit transcripts; get a memo for its text. Personal credentials only (personal token or Keycloak user token); a service key is refused. VOICE_MEMOS_V1_ENABLED=false returns 404 before authentication or body parsing.

  • Stand: binnenkort, nog niet op productie.
  • Scope: prudai:voice_memos:read
  • Goedkeuring: none, geen extra stap.

Parameters

  • status query · string
    Een van: unassigned, assigned, all · standaard: "unassigned"
  • limit query · integer
    standaard: 20 · min. 1 · max. 100
  • cursor query · string
    max. lengte 200

Antwoorden

StatusBetekenis
200Task envelope with the result.
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).
404project_not_found (unknown project, or one you may not read: the same answer), document_not_found (not in this project), or original_unavailable (the original file is no longer stored).
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.
503Temporarily unavailable (maintenance, overload, or the credit check could not be performed). Nothing ran, nothing is charged.
curl
curl -s "https://api.prudai.com/v1/voice-memos" \
-H "Authorization: Bearer $PRUDAI_TOKEN"
CLI (binnenkort)
prudai leo voice-memos list
Antwoord 200
[
{
"id": "00000000-0000-4000-8000-000000000000",
"status": "uploaded",
"sha256": "string",
"byte_size": 1,
"duration_ms": 1,
"target": {
"link_type": "leo-project",
"link_id": "00000000-0000-4000-8000-000000000000",
"subtype": "company"
},
"options": {
"summary": true,
"knowledge_base": true,
"cato_note": false,
"cato_soort": "ACHTERGROND",
"cato_target": {
"link_type": "leo-project",
"link_id": "00000000-0000-4000-8000-000000000000",
"subtype": "company"
}
},
"summary": "string",
"transcript": "string",
"created_at": "2026-11-05T09:30:00.000Z",
"updated_at": "2026-11-05T09:30:00.000Z",
"assigned_at": "2026-11-05T09:30:00.000Z",
"deleted_at": "2026-11-05T09:30:00.000Z",
"would_upload": false
}
]

Upload an own voice memo

POST /v1/voice-memos

One audio file in multipart field file (.m4a, .webm, .mp3, .wav, .ogg, .aac, .flac, .opus or .mp4). sha256 hashes the received bytes. A required Idempotency-Key is unique per organisation and person: retrying returns the original memo (200) without another upload; changed bytes or arguments return 422 idempotency_key_reused. The personal inbox is an existing own LEO project named Transcribe, otherwise one private project named Spraakmemo’s. A LEO/ORDO target uploads directly there and is assigned. CRM targets retain audio in the personal inbox. Processing uses the existing EU transcription route. dryRun returns a preview with would_upload and stores nothing. Personal credentials only (personal token or Keycloak user token); a service key is refused. VOICE_MEMOS_V1_ENABLED=false returns 404 before authentication or body parsing.

  • Stand: binnenkort, nog niet op productie.
  • Scope: prudai:voice_memos:write
  • Goedkeuring: none, geen extra stap.
  • Dry run: ?dryRun=true laat zien wat er zou gebeuren en slaat niets op.
  • Idempotentie: stuur Idempotency-Key mee; dezelfde sleutel met dezelfde body voert de actie niet twee keer uit.

Parameters

  • Idempotency-Key header · string verplicht
    min. lengte 8 · max. lengte 255 · patroon ^[\x21-\x7E]+$
  • dryRun query · string
    Validate and preview the effect without changing anything. Een van: true, false

Body

Formaat: multipart/form-data.

Antwoorden

StatusBetekenis
200Idempotency replay, or a validation-only upload preview with no stored memo.
201Task envelope with the result.
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).
404project_not_found (unknown project, or one you may not read: the same answer), document_not_found (not in this project), or original_unavailable (the original file is no longer stored).
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.
503Temporarily unavailable (maintenance, overload, or the credit check could not be performed). Nothing ran, nothing is charged.
curl
curl -s -X POST "https://api.prudai.com/v1/voice-memos" \
-H "Authorization: Bearer $PRUDAI_TOKEN" \
-H "Idempotency-Key: $(uuidgen)"
CLI (binnenkort)
prudai leo voice-memos create

Read an own voice memo and transcript

GET /v1/voice-memos/{id}

The RAG document status maps completed to ready, failed to failed and pending processing to transcribing; still processing 10 minutes after the document’s last change is failed, and a late transcript turns it back into ready. Assigned memos retain assigned status. The transcript is read with the user’s current project access. A short Dutch summary is generated lazily when ready and cached. Personal credentials only (personal token or Keycloak user token); a service key is refused. VOICE_MEMOS_V1_ENABLED=false returns 404 before authentication or body parsing.

  • Stand: binnenkort, nog niet op productie.
  • Scope: prudai:voice_memos:read
  • Goedkeuring: none, geen extra stap.

Parameters

  • id path · string (uuid) verplicht

Antwoorden

StatusBetekenis
200Task envelope with the result.
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).
404project_not_found (unknown project, or one you may not read: the same answer), document_not_found (not in this project), or original_unavailable (the original file is no longer stored).
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.
503Temporarily unavailable (maintenance, overload, or the credit check could not be performed). Nothing ran, nothing is charged.

Velden in data (200)

  • id string (uuid)
    kan null zijn
  • status string
    Een van: uploaded, transcribing, ready, assigned, failed
  • sha256 string
    patroon ^[a-f0-9]{64}$
  • byte_size integer
    min. 0
  • duration_ms integer
    min. 0 · kan null zijn
  • target object
    kan null zijn
  • options VoiceMemoOptions
  • options.summary boolean
    standaard: true
  • options.knowledge_base boolean
    standaard: true
  • options.cato_note boolean
    standaard: false
  • options.cato_soort string
    Een van: GESPREK, ACHTERGROND · standaard: "ACHTERGROND"
  • options.cato_target VoiceMemoTarget
    A CRM record requires subtype; only a CRM record accepts subtype. ORDO link_id is the corresponding LEO dossier-project UUID.
  • options.cato_target.link_type string
    Een van: leo-project, ordo-dossier, cato-record
  • options.cato_target.link_id string (uuid)
  • options.cato_target.subtype string
    Een van: company, person, opportunity
  • summary string
    kan null zijn
  • transcript string
    Only returned by getVoiceMemo. kan null zijn
  • created_at string (date-time)
    kan null zijn
  • updated_at string (date-time)
    kan null zijn
  • assigned_at string (date-time)
    kan null zijn
  • deleted_at string (date-time)
    kan null zijn
  • would_upload boolean
    Only in dryRun previews.
curl
curl -s "https://api.prudai.com/v1/voice-memos/<id>" \
-H "Authorization: Bearer $PRUDAI_TOKEN"
CLI (binnenkort)
prudai leo voice-memos get
Antwoord 200
{
"id": "00000000-0000-4000-8000-000000000000",
"status": "uploaded",
"sha256": "string",
"byte_size": 1,
"duration_ms": 1,
"target": {
"link_type": "leo-project",
"link_id": "00000000-0000-4000-8000-000000000000",
"subtype": "company"
},
"options": {
"summary": true,
"knowledge_base": true,
"cato_note": false,
"cato_soort": "ACHTERGROND",
"cato_target": {
"link_type": "leo-project",
"link_id": "00000000-0000-4000-8000-000000000000",
"subtype": "company"
}
},
"summary": "string",
"transcript": "string",
"created_at": "2026-11-05T09:30:00.000Z",
"updated_at": "2026-11-05T09:30:00.000Z",
"assigned_at": "2026-11-05T09:30:00.000Z",
"deleted_at": "2026-11-05T09:30:00.000Z",
"would_upload": false
}

Assign or move an own voice memo

PATCH /v1/voice-memos/{id}

Checks current write access on each target. LEO/ORDO copy the original plus an optional Markdown summary and transcript, then soft-delete the prior audio into recoverable trash. An ORDO link_id is its LEO dossier-project UUID, not the external ORDO dossier UUID. Repeating an identical assignment is idempotent. CRM writes use the existing delegated prepare/apply path; only summary and LEO project/document references enter CRM, never audio or the full transcript. CRM targets require staff and current CRM rights. options.cato_note on a project assignment also writes to options.cato_target. summary and knowledge_base default true; cato_note defaults false; cato_soort defaults ACHTERGROND. Personal credentials only (personal token or Keycloak user token); a service key is refused. VOICE_MEMOS_V1_ENABLED=false returns 404 before authentication or body parsing.

  • Stand: binnenkort, nog niet op productie.
  • Scope: prudai:voice_memos:write
  • Goedkeuring: none, geen extra stap.
  • Dry run: ?dryRun=true laat zien wat er zou gebeuren en slaat niets op.

Parameters

  • id path · string (uuid) verplicht
  • dryRun query · string
    Validate and preview the effect without changing anything. Een van: true, false

Body

JSON, verplicht.

  • target VoiceMemoTarget verplicht
    A CRM record requires subtype; only a CRM record accepts subtype. ORDO link_id is the corresponding LEO dossier-project UUID.
  • target.link_type string verplicht
    Een van: leo-project, ordo-dossier, cato-record
  • target.link_id string (uuid) verplicht
  • target.subtype string
    Een van: company, person, opportunity
  • options VoiceMemoOptions
  • options.summary boolean
    standaard: true
  • options.knowledge_base boolean
    standaard: true
  • options.cato_note boolean
    standaard: false
  • options.cato_soort string
    Een van: GESPREK, ACHTERGROND · standaard: "ACHTERGROND"
  • options.cato_target VoiceMemoTarget
    A CRM record requires subtype; only a CRM record accepts subtype. ORDO link_id is the corresponding LEO dossier-project UUID.
  • options.cato_target.link_type string verplicht
    Een van: leo-project, ordo-dossier, cato-record
  • options.cato_target.link_id string (uuid) verplicht
  • options.cato_target.subtype string
    Een van: company, person, opportunity

Antwoorden

StatusBetekenis
200Task envelope with the result.
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).
404project_not_found (unknown project, or one you may not read: the same answer), document_not_found (not in this project), or original_unavailable (the original file is no longer stored).
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.
503Temporarily unavailable (maintenance, overload, or the credit check could not be performed). Nothing ran, nothing is charged.

Velden in data (200)

  • id string (uuid)
    kan null zijn
  • status string
    Een van: uploaded, transcribing, ready, assigned, failed
  • sha256 string
    patroon ^[a-f0-9]{64}$
  • byte_size integer
    min. 0
  • duration_ms integer
    min. 0 · kan null zijn
  • target object
    kan null zijn
  • options VoiceMemoOptions
  • options.summary boolean
    standaard: true
  • options.knowledge_base boolean
    standaard: true
  • options.cato_note boolean
    standaard: false
  • options.cato_soort string
    Een van: GESPREK, ACHTERGROND · standaard: "ACHTERGROND"
  • options.cato_target VoiceMemoTarget
    A CRM record requires subtype; only a CRM record accepts subtype. ORDO link_id is the corresponding LEO dossier-project UUID.
  • options.cato_target.link_type string
    Een van: leo-project, ordo-dossier, cato-record
  • options.cato_target.link_id string (uuid)
  • options.cato_target.subtype string
    Een van: company, person, opportunity
  • summary string
    kan null zijn
  • transcript string
    Only returned by getVoiceMemo. kan null zijn
  • created_at string (date-time)
    kan null zijn
  • updated_at string (date-time)
    kan null zijn
  • assigned_at string (date-time)
    kan null zijn
  • deleted_at string (date-time)
    kan null zijn
  • would_upload boolean
    Only in dryRun previews.
curl
curl -s -X PATCH "https://api.prudai.com/v1/voice-memos/<id>" \
-H "Authorization: Bearer $PRUDAI_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"target": {
"link_type": "leo-project",
"link_id": "00000000-0000-4000-8000-000000000000",
"subtype": "company"
},
"options": {
"summary": true,
"knowledge_base": true,
"cato_note": false,
"cato_soort": "ACHTERGROND",
"cato_target": {
"link_type": "leo-project",
"link_id": "00000000-0000-4000-8000-000000000000",
"subtype": "company"
}
}
}'
CLI (binnenkort)
prudai leo voice-memos update
Antwoord 200
{
"id": "00000000-0000-4000-8000-000000000000",
"status": "uploaded",
"sha256": "string",
"byte_size": 1,
"duration_ms": 1,
"target": {
"link_type": "leo-project",
"link_id": "00000000-0000-4000-8000-000000000000",
"subtype": "company"
},
"options": {
"summary": true,
"knowledge_base": true,
"cato_note": false,
"cato_soort": "ACHTERGROND",
"cato_target": {
"link_type": "leo-project",
"link_id": "00000000-0000-4000-8000-000000000000",
"subtype": "company"
}
},
"summary": "string",
"transcript": "string",
"created_at": "2026-11-05T09:30:00.000Z",
"updated_at": "2026-11-05T09:30:00.000Z",
"assigned_at": "2026-11-05T09:30:00.000Z",
"deleted_at": "2026-11-05T09:30:00.000Z",
"would_upload": false
}

Move an own voice memo to trash

DELETE /v1/voice-memos/{id}

Soft deletion is recoverable. Requires review through the standard approval flow; without a grant the response is 202 ApprovalRequest. An inaccessible memo returns 404 before creating an approval request. Personal credentials only (personal token or Keycloak user token); a service key is refused. VOICE_MEMOS_V1_ENABLED=false returns 404 before authentication or body parsing.

  • Stand: binnenkort, nog niet op productie.
  • Scope: prudai:voice_memos:delete
  • Goedkeuring: review, een tweede persoon of rol keurt goed.
  • Dry run: ?dryRun=true laat zien wat er zou gebeuren en slaat niets op.
  • Verwijderen is zacht; zie Conventies.

Parameters

  • id path · string (uuid) verplicht
  • dryRun query · string
    Validate and preview the effect without changing anything. Een van: true, false
  • x-prudai-approval header · string
    Approved one-use request id. Repeat the exact method, path, query and body. The grant is consumed before execution; obtain a new approval after a failed execution. Idempotency-Key is excluded from the approval fingerprint. patroon ^apr_[A-Za-z0-9]{24}$

Antwoorden

StatusBetekenis
200Task envelope with the result.
202Awaiting standard human review.
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).
404project_not_found (unknown project, or one you may not read: the same answer), document_not_found (not in this project), or original_unavailable (the original file is no longer stored).
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.
503Temporarily unavailable (maintenance, overload, or the credit check could not be performed). Nothing ran, nothing is charged.

Velden in data (200)

  • id string (uuid)
    kan null zijn
  • status string
    Een van: uploaded, transcribing, ready, assigned, failed
  • sha256 string
    patroon ^[a-f0-9]{64}$
  • byte_size integer
    min. 0
  • duration_ms integer
    min. 0 · kan null zijn
  • target object
    kan null zijn
  • options VoiceMemoOptions
  • options.summary boolean
    standaard: true
  • options.knowledge_base boolean
    standaard: true
  • options.cato_note boolean
    standaard: false
  • options.cato_soort string
    Een van: GESPREK, ACHTERGROND · standaard: "ACHTERGROND"
  • options.cato_target VoiceMemoTarget
    A CRM record requires subtype; only a CRM record accepts subtype. ORDO link_id is the corresponding LEO dossier-project UUID.
  • options.cato_target.link_type string
    Een van: leo-project, ordo-dossier, cato-record
  • options.cato_target.link_id string (uuid)
  • options.cato_target.subtype string
    Een van: company, person, opportunity
  • summary string
    kan null zijn
  • transcript string
    Only returned by getVoiceMemo. kan null zijn
  • created_at string (date-time)
    kan null zijn
  • updated_at string (date-time)
    kan null zijn
  • assigned_at string (date-time)
    kan null zijn
  • deleted_at string (date-time)
    kan null zijn
  • would_upload boolean
    Only in dryRun previews.
curl
curl -s -X DELETE "https://api.prudai.com/v1/voice-memos/<id>" \
-H "Authorization: Bearer $PRUDAI_TOKEN"
CLI (binnenkort)
prudai leo voice-memos delete
Antwoord 200
{
"id": "00000000-0000-4000-8000-000000000000",
"status": "uploaded",
"sha256": "string",
"byte_size": 1,
"duration_ms": 1,
"target": {
"link_type": "leo-project",
"link_id": "00000000-0000-4000-8000-000000000000",
"subtype": "company"
},
"options": {
"summary": true,
"knowledge_base": true,
"cato_note": false,
"cato_soort": "ACHTERGROND",
"cato_target": {
"link_type": "leo-project",
"link_id": "00000000-0000-4000-8000-000000000000",
"subtype": "company"
}
},
"summary": "string",
"transcript": "string",
"created_at": "2026-11-05T09:30:00.000Z",
"updated_at": "2026-11-05T09:30:00.000Z",
"assigned_at": "2026-11-05T09:30:00.000Z",
"deleted_at": "2026-11-05T09:30:00.000Z",
"would_upload": false
}

Restore an own voice memo

POST /v1/voice-memos/{id}/restore

Clears the memo’s soft-deletion mark without a Console confirmation card. Personal credentials only (personal token or Keycloak user token); a service key is refused. VOICE_MEMOS_V1_ENABLED=false returns 404 before authentication or body parsing.

  • Stand: binnenkort, nog niet op productie.
  • Scope: prudai:voice_memos:write
  • Goedkeuring: none, geen extra stap.
  • Dry run: ?dryRun=true laat zien wat er zou gebeuren en slaat niets op.

Parameters

  • id path · string (uuid) verplicht
  • dryRun query · string
    Validate and preview the effect without changing anything. Een van: true, false

Body

JSON, verplicht.

Antwoorden

StatusBetekenis
200Task envelope with the result.
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).
404project_not_found (unknown project, or one you may not read: the same answer), document_not_found (not in this project), or original_unavailable (the original file is no longer stored).
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.
503Temporarily unavailable (maintenance, overload, or the credit check could not be performed). Nothing ran, nothing is charged.

Velden in data (200)

  • id string (uuid)
    kan null zijn
  • status string
    Een van: uploaded, transcribing, ready, assigned, failed
  • sha256 string
    patroon ^[a-f0-9]{64}$
  • byte_size integer
    min. 0
  • duration_ms integer
    min. 0 · kan null zijn
  • target object
    kan null zijn
  • options VoiceMemoOptions
  • options.summary boolean
    standaard: true
  • options.knowledge_base boolean
    standaard: true
  • options.cato_note boolean
    standaard: false
  • options.cato_soort string
    Een van: GESPREK, ACHTERGROND · standaard: "ACHTERGROND"
  • options.cato_target VoiceMemoTarget
    A CRM record requires subtype; only a CRM record accepts subtype. ORDO link_id is the corresponding LEO dossier-project UUID.
  • options.cato_target.link_type string
    Een van: leo-project, ordo-dossier, cato-record
  • options.cato_target.link_id string (uuid)
  • options.cato_target.subtype string
    Een van: company, person, opportunity
  • summary string
    kan null zijn
  • transcript string
    Only returned by getVoiceMemo. kan null zijn
  • created_at string (date-time)
    kan null zijn
  • updated_at string (date-time)
    kan null zijn
  • assigned_at string (date-time)
    kan null zijn
  • deleted_at string (date-time)
    kan null zijn
  • would_upload boolean
    Only in dryRun previews.
curl
curl -s -X POST "https://api.prudai.com/v1/voice-memos/<id>/restore" \
-H "Authorization: Bearer $PRUDAI_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'
CLI (binnenkort)
prudai leo voice-memos restore
Antwoord 200
{
"id": "00000000-0000-4000-8000-000000000000",
"status": "uploaded",
"sha256": "string",
"byte_size": 1,
"duration_ms": 1,
"target": {
"link_type": "leo-project",
"link_id": "00000000-0000-4000-8000-000000000000",
"subtype": "company"
},
"options": {
"summary": true,
"knowledge_base": true,
"cato_note": false,
"cato_soort": "ACHTERGROND",
"cato_target": {
"link_type": "leo-project",
"link_id": "00000000-0000-4000-8000-000000000000",
"subtype": "company"
}
},
"summary": "string",
"transcript": "string",
"created_at": "2026-11-05T09:30:00.000Z",
"updated_at": "2026-11-05T09:30:00.000Z",
"assigned_at": "2026-11-05T09:30:00.000Z",
"deleted_at": "2026-11-05T09:30:00.000Z",
"would_upload": false
}

Suggest destinations for an own voice memo

GET /v1/voice-memos/{id}/suggestions

At most five currently accessible destinations ranked last_opened, calendar, mentioned. A last_opened hint never grants access. Calendar candidates use the delegated CRM calendar when available; omitted sources are explained in notIncluded. Each suggestion carries reason last_opened, calendar or mentioned. Personal credentials only (personal token or Keycloak user token); a service key is refused. VOICE_MEMOS_V1_ENABLED=false returns 404 before authentication or body parsing.

  • Stand: binnenkort, nog niet op productie.
  • Scope: prudai:voice_memos:read
  • Goedkeuring: none, geen extra stap.

Parameters

  • id path · string (uuid) verplicht
  • last_opened query · string
    Hint as link_type:link_id. Only returned when currently accessible. max. lengte 100

Antwoorden

StatusBetekenis
200Task envelope with the result.
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).
404project_not_found (unknown project, or one you may not read: the same answer), document_not_found (not in this project), or original_unavailable (the original file is no longer stored).
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.
503Temporarily unavailable (maintenance, overload, or the credit check could not be performed). Nothing ran, nothing is charged.
curl
curl -s "https://api.prudai.com/v1/voice-memos/<id>/suggestions" \
-H "Authorization: Bearer $PRUDAI_TOKEN"
CLI (binnenkort)
prudai leo voice-memos suggestions
Antwoord 200
[
{
"link_type": "leo-project",
"link_id": "00000000-0000-4000-8000-000000000000",
"subtype": "company",
"label": "string",
"subtitle": "string",
"reason": "last_opened"
}
]