Getting Started
How to
- GETAuthentication
- GETZapier account list
- Stored Vs. Stateless Actions
- Stored actions
- Stateless actions
- Gathering action information
API Reference
- system
- auth
- apps
- actions
- execution
- ai-actions
- utilities
Libraries
- TypeScript (Node.js, Deno)
- React Components
Development Resources
Manage stored actions
Get stored action
Get the details of a specific AI Action.
GET
/
api
/
v2
/
ai-actions
/
{ai_action_id}
curl --request GET \
--url https://actions.zapier.com/api/v2/ai-actions/{ai_action_id}/ \
--header 'x-api-key: <api-key>'
{
"id": "<string>",
"description": "<string>",
"account_id": 123,
"authentication_id": 123,
"app": "<string>",
"action": "<string>",
"action_type": "read",
"params": {},
"meta": {
"params": {},
"app_label": "<string>",
"action_label": "<string>",
"authentication_label": "<string>",
"app_needs_auth": true
},
"needs": [
{
"key": "<string>",
"type": "int",
"label": "<string>",
"required": true,
"prefill": "<string>",
"searchfill": "<string>",
"capabilities": [
"<string>"
],
"custom_field": true,
"depends_on": [
"<string>"
],
"input_format": [
"<any>"
],
"language": "<string>",
"parent_key": "<string>",
"regex": "<string>",
"alters_custom_fields": true,
"choices": [
{
"key": "<string>",
"label": "<string>",
"sample": "<string>"
}
],
"default": "<string>",
"help_text": "<string>",
"placeholder": "<string>",
"format": "<string>",
"list": true
}
]
}
See Run a stored action for details on running an action.
Authorizations
Path Parameters
Response
200 - application/json
OK
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://actions.zapier.com/api/v2/ai-actions/{ai_action_id}/ \
--header 'x-api-key: <api-key>'
{
"id": "<string>",
"description": "<string>",
"account_id": 123,
"authentication_id": 123,
"app": "<string>",
"action": "<string>",
"action_type": "read",
"params": {},
"meta": {
"params": {},
"app_label": "<string>",
"action_label": "<string>",
"authentication_label": "<string>",
"app_needs_auth": true
},
"needs": [
{
"key": "<string>",
"type": "int",
"label": "<string>",
"required": true,
"prefill": "<string>",
"searchfill": "<string>",
"capabilities": [
"<string>"
],
"custom_field": true,
"depends_on": [
"<string>"
],
"input_format": [
"<any>"
],
"language": "<string>",
"parent_key": "<string>",
"regex": "<string>",
"alters_custom_fields": true,
"choices": [
{
"key": "<string>",
"label": "<string>",
"sample": "<string>"
}
],
"default": "<string>",
"help_text": "<string>",
"placeholder": "<string>",
"format": "<string>",
"list": true
}
]
}