Updates the status, usage and response metadata of a skill invocation.
33243242
The ID of the skill invocation.
The file to assign this metadata to
3243244
The ID of the file
file
Value is always file
The file version to assign this metadata to
3
The ID of the file version
file_version
Value 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:00
The time the card was created at
1000
An optional duration.
Used with a card_type
oftranscript
, or
timeline
.
An optional list of entries.
Used with a card_type
oftranscript
, keyword
or
timeline
.
keyword1
The text of the entry
text
Value is always text
The current invocation of the skill
33243242
The ID of the skill invocation.
skill_invocation
Value is always skill_invocation
The skill that is updating the cards
43342423234
The ID of the skill.
service
Value is always service
The title of the card
my_transcripts
An identifier for your title
My Transcripts
The actual title to show in the UI
status
The 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_status
The 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_card
Value is always skill_card
success
Sets 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": {}
}'