Aller au contenu

Lire les métadonnées de rédaction des AIP

GET/api/public/v1/aip/authoring-metadata beta

The four brief entries, whether recordings can be transcribed, the bounds a request must stay inside, and the languages a brief may be written in (any). 409 AI_NOT_ENABLED when AI authoring is not enabled.

Fenêtre de terminal
curl --fail-with-body -X GET 'https://app.openlatch.ai/api/public/v1/aip/authoring-metadata' \
-H "Authorization: Bearer $OPENLATCH_API_KEY"
Rôle dans l’organisationCe point de terminaison
ownerAutorisé
adminAutorisé
editorAutorisé
viewerAutorisé

Une clé porte le rôle que son propriétaire détient dans l’organisation. Voir Authentification.

Portée de clé d’API : aip:read

ChampTypeDescription
dataobjectObligatoire. The four brief entries, whether recordings can be transcribed, the bounds, and the languages (any).
data.entriesarray of string — one of paste, upload, record, presetObligatoire.
data.languagesstring — any
data.limitsobjectObligatoire.
data.limits.dictionary_value_max_charsintegerObligatoire.
data.limits.dictionary_values_per_table_maxintegerObligatoire.
data.limits.max_upload_bytesintegerObligatoire.
data.limits.sentence_max_charsintegerObligatoire.
data.speech_availablebooleanObligatoire.
{
"data": {
"entries": [
"paste"
],
"languages": "any",
"limits": {
"dictionary_value_max_chars": 3,
"dictionary_values_per_table_max": 3,
"max_upload_bytes": 3,
"sentence_max_chars": 3
},
"speech_available": false
}
}