---
title: "Get Automation"
method: GET
path: "/automations/{automationId}"
tags: ["Automations"]
---

# Get Automation

`GET /automations/{automationId}`

## Request

- Base URL: `https://api.speakai.co/v1`
- URL: `https://api.speakai.co/v1/automations/{automationId}`
- Auth: API key in header `x-speakai-key` and API key in header `x-access-token`

The endpoint makes an HTTP GET request to retrieve a list of automations from the specified URL.

The response of this request can be documented as a JSON schema:

``` json
{
 "type": "object",
 "properties": {
 "status": {
 "type": "string"
 },
 "data": {
 "type": "object",
 "properties": {
 "totalCount": {
 "type": "integer"
 },
 "automationList": {
 "type": "array",
 "items": {
 "type": "object",
 "properties": {
 "trigger": {
 "type": "object",
 "properties": {
 "type": {
 "type": "string"
 },
 "folderIds": {
 "type": "array",
 "items": {
 "type": "object",
 "properties": {
 "name": {
 "type": "string"
 },
 "folderId": {
 "type": "string"
 }
 }
 }
 },
 "values": {
 "type": "array"
 }
 }
 },
 "action": {
 "type": "object",
 "properties": {
 "magicPrompt": {
 "type": "object",
 "properties": {
 "title": {
 "type": "string"
 },
 "assistantType": {
 "type": "string"
 },
 "assistantTemplateId": {
 "type": "string"
 },
 "prompt": {
 "type": "string"
 }
 }
 },
 "type": {
 "type": "string"
 }
 }
 },
 "name": {
 "type": "string"
 },
 "description": {
 "type": "string"
 },
 "runType": {
 "type": "string"
 },
 "isActive": {
 "type": "boolean"
 },
 "automationId": {
 "type": "string"
 },
 "actionHistory": {
 "type": "array",
 "items": {
 "type": "object",
 "properties": {
 "type": {
 "type": "string"
 }
 }
 }
 },
 "createdAt": {
 "type": "string"
 },
 "updatedAt": {
 "type": "string"
 },
 "history": {
 "type": "integer"
 }
 }
 }
 }
 }
 }
 }
}

 ```

## Path parameters

- `automationId` string, required

## Response `200`

Success

---

[API](https://skmtc.dev/speakai/apis/speak-ai-api.md) · [All operations](https://skmtc.dev/speakai/apis/speak-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/speakai/apis/speak-ai-api/revisions/52d777e6d46e?raw)
