Get an Action's schemas
curl --request GET \
--url https://api.arg.ai/api/actions/{actionId}/schema \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.arg.ai/api/actions/{actionId}/schema"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.arg.ai/api/actions/{actionId}/schema', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"detail": "<string>"
}Actions
Get an Action's schemas
Return the JSON Schema for an Action’s input and output.
GET
/
api
/
actions
/
{actionId}
/
schema
Get an Action's schemas
curl --request GET \
--url https://api.arg.ai/api/actions/{actionId}/schema \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.arg.ai/api/actions/{actionId}/schema"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.arg.ai/api/actions/{actionId}/schema', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"detail": "<string>"
}