Updates the status, usage and response metadata of a skill invocation.
33243242The ID of the skill invocation.
The file to assign this metadata to
3243244The ID of the file
fileValue is always file
The file version to assign this metadata to
3The ID of the file version
file_versionValue is always file_version
The metadata to set for this skill
The metadata cards to set on the file.
2012-12-12T10:53:43-08:00The time the card was created at
1000An optional duration.
Used with a card_type oftranscript, or
timeline.
An optional list of entries.
Used with a card_type oftranscript, keyword or
timeline.
keyword1The text of the entry
textValue is always text
The current invocation of the skill
33243242The ID of the skill invocation.
skill_invocationValue is always skill_invocation
The skill that is updating the cards
43342423234The ID of the skill.
serviceValue is always service
The title of the card
my_transcriptsAn identifier for your title
My TranscriptsThe actual title to show in the UI
statusThe type of card to create
Value is one of transcript,keyword,timeline,status,error
Optional status. Used with a card_type of status.
skills_pending_statusThe type of status being set
Value is one of skills_pending_status,custom_error
We're preparing to process your file. Please hold on!The message for the status to show in the UI.
skill_cardValue is always skill_card
successSets the status of the skill invocation.
Value is one of invoked,processing,success,transient_failure,permanent_failure
Returns an empty response.
An unexpected client error.
curl -X PUT https://api.box.com/2.0/skill_invocations/33243242 \
-H 'Authorization: Bearer <ACCESS_TOKEN>'
-H 'Content-Type: application/json" '
-d '{
"status": "success",
"metadata": {},
"file": {}
}'