Generated by API Evangelist
Written by API Evangelist tooling for Langfuse's API. It is a proposal applied on top of the contract, not a document Langfuse publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for langfuse Media API
version: 1.0.0
extends: openapi/langfuse-media-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-18'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 3
- target: $.paths['/api/public/media/{mediaId}'].get
update:
x-apievangelist-phrasing:
intent: Get a media record
effect: read
questions:
- How do I fetch a media record by its ID?
- What upload details are stored for a media record?
instructions:
- text: Get media record {mediaId}.
slots:
mediaId: path.mediaId
- text: Show the upload status of media {mediaId}.
slots:
mediaId: path.mediaId
method: generated
generated: '2026-11-18'
- target: $.paths['/api/public/media/{mediaId}'].patch
update:
x-apievangelist-phrasing:
intent: Update a media record's upload details
effect: write
questions:
- How do I record that a media file was uploaded?
- Can I log the upload time and HTTP status for a media record?
instructions:
- text: Set media {mediaId} uploaded at {uploadedAt} with status {uploadHttpStatus}.
slots:
mediaId: path.mediaId
uploadedAt: requestBody.uploadedAt
uploadHttpStatus: requestBody.uploadHttpError
- text: Record upload time {uploadTimeMs} ms for media {mediaId} with status {uploadHttpStatus}.
slots:
uploadTimeMs: requestBody.uploadTimeMs
mediaId: path.mediaId
uploadHttpStatus: requestBody.uploadHttpError
method: generated
generated: '2026-11-18'
- target: $.paths['/api/public/media'].post
update:
x-apievangelist-phrasing:
intent: Get a presigned upload URL for media
effect: read
questions:
- How do I upload a media file for a trace or observation?
- Can I get a presigned URL to upload a media record by its SHA-256 hash?
instructions:
- text: Get an upload URL for {contentType} media {sha256Hash} of {contentLength} bytes for trace {traceId} on field {field}.
slots:
contentType: requestBody.contentType
sha256Hash: requestBody.sha256Hash
contentLength: requestBody.contentLength
traceId: requestBody.traceId
field: requestBody.field
- text: Create an upload link for observation {observationId} on {field} with trace {traceId}, size {contentLength}, hash {sha256Hash}, type {contentType}.
slots:
observationId: requestBody.observationId
field: requestBody.field
traceId: requestBody.traceId
contentLength: requestBody.contentLength
sha256Hash: requestBody.sha256Hash
contentType: requestBody.contentType
method: generated
generated: '2026-11-18'
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.