Workato Genies API

AI agents (genies) that can be configured with skills, knowledge bases, and instructions to automate complex workflows.

Documentation

📖
Documentation
https://www.workato.com/
📖
Documentation
https://docs.workato.com/en/workato-api.html#base-url
📖
Authentication
https://docs.workato.com/en/workato-api.html#authentication
📖
APIReference
https://docs.workato.com/workato-api/resources.html
📖
APIReference
https://docs.workato.com/workato-api/recipes.html
📖
APIReference
https://docs.workato.com/workato-api/api-connectors.html
📖
APIReference
https://docs.workato.com/workato-api/api-client-apis.html
📖
APIReference
https://docs.workato.com/workato-api/api-platform.html
📖
APIReference
https://docs.workato.com/workato-api/custom_connectors.html
📖
APIReference
https://docs.workato.com/workato-api/recipe-lifecycle-management.html
📖
Authentication
https://docs.workato.com/workato-api/authentication.html
📖
RateLimits
https://docs.workato.com/workato-api/rate-limiting.html
📖
APIReference
https://docs.workato.com/workato-api/pubsub.html
📖
APIReference
https://docs.workato.com/workato-api/agent-studio.html
📖
APIReference
https://docs.workato.com/workato-api/mcp-servers.html
📖
APIReference
https://docs.workato.com/workato-api/test-automation.html
📖
APIReference
https://docs.workato.com/workato-api/data-tables.html
📖
APIReference
https://docs.workato.com/workato-api/tag-assignments.html
📖
APIReference
https://docs.workato.com/workato-api/custom-oauth-profiles.html
📖
Documentation
https://docs.workato.com/workato-api/pubsub.html
📖
Documentation
https://docs.workato.com/event-streams.html
📖
Documentation
https://docs.workato.com/mcp.html
📖
Documentation
https://docs.workato.com/en/mcp/expose-developer-apis.html

Specifications

Schemas & Data

Other Resources

OpenAPI Specification

workato-genies-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Workato Agent Studio Data Tables Genies API
  description: The Workato Agent Studio API provides programmatic access to manage AI agents (genies), skills, and knowledge bases within the Workato Agentic Automation platform. Use this API to create and configure AI agents, assign skills and knowledge bases, and control agent lifecycle. Rate limits are 1,000 requests per minute for list/get operations and 60 requests per minute for all other operations.
  version: '1.0'
  contact:
    name: Workato Support
    url: https://support.workato.com/
  termsOfService: https://www.workato.com/legal
servers:
- url: https://www.workato.com
  description: US Production
- url: https://app.eu.workato.com
  description: EU Production
- url: https://app.jp.workato.com
  description: JP Production
- url: https://app.sg.workato.com
  description: SG Production
- url: https://app.au.workato.com
  description: AU Production
security:
- bearerAuth: []
tags:
- name: Genies
  description: AI agents (genies) that can be configured with skills, knowledge bases, and instructions to automate complex workflows.
paths:
  /api/agentic/genies:
    get:
      operationId: listGenies
      summary: Workato List Genies
      description: Returns a paginated list of AI agents (genies) in the workspace. Supports filtering by folder, project, and state.
      tags:
      - Genies
      parameters:
      - $ref: '#/components/parameters/FolderId'
      - $ref: '#/components/parameters/ProjectId'
      - name: state
        in: query
        description: Filter genies by their current state.
        schema:
          type: string
          enum:
          - running
          - stopped
      - $ref: '#/components/parameters/Page'
      - $ref: '#/components/parameters/PerPage'
      responses:
        '200':
          description: A list of genies.
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      $ref: '#/components/schemas/Genie'
                  next_page:
                    type: boolean
                    description: Whether there are more pages available.
        '401':
          $ref: '#/components/responses/Unauthorized'
    post:
      operationId: createGenie
      summary: Workato Create a Genie
      description: Creates a new AI agent (genie) in the workspace with the specified configuration including name, instructions, AI provider, and matrix settings.
      tags:
      - Genies
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GenieInput'
      responses:
        '200':
          description: The created genie's ID.
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: integer
                    description: Unique identifier of the created genie.
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
  /api/agentic/genies/{id}:
    get:
      operationId: getGenie
      summary: Workato Get a Genie
      description: Returns the details of a specific AI agent (genie) by its ID.
      tags:
      - Genies
      parameters:
      - $ref: '#/components/parameters/GenieId'
      responses:
        '200':
          description: The genie details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Genie'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
    put:
      operationId: updateGenie
      summary: Workato Update a Genie
      description: Updates the configuration of an existing AI agent (genie).
      tags:
      - Genies
      parameters:
      - $ref: '#/components/parameters/GenieId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GenieInput'
      responses:
        '200':
          description: The updated genie.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Genie'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
    delete:
      operationId: deleteGenie
      summary: Workato Delete a Genie
      description: Permanently deletes an AI agent (genie) from the workspace.
      tags:
      - Genies
      parameters:
      - $ref: '#/components/parameters/GenieId'
      responses:
        '200':
          description: Deletion confirmation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuccessResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
  /api/agentic/genies/{id}/start:
    post:
      operationId: startGenie
      summary: Workato Start a Genie
      description: Activates an AI agent (genie), making it available to handle requests.
      tags:
      - Genies
      parameters:
      - $ref: '#/components/parameters/GenieId'
      responses:
        '200':
          description: Start confirmation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuccessResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
  /api/agentic/genies/{id}/stop:
    post:
      operationId: stopGenie
      summary: Workato Stop a Genie
      description: Deactivates an AI agent (genie), preventing it from handling new requests.
      tags:
      - Genies
      parameters:
      - $ref: '#/components/parameters/GenieId'
      responses:
        '200':
          description: Stop confirmation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuccessResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
  /api/agentic/genies/{id}/assign_skills:
    post:
      operationId: assignSkillsToGenie
      summary: Workato Assign Skills to a Genie
      description: Assigns one or more skills to an AI agent (genie). Skills are recipe-backed capabilities that give the agent actionable tools.
      tags:
      - Genies
      parameters:
      - $ref: '#/components/parameters/GenieId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - skill_ids
              properties:
                skill_ids:
                  type: array
                  items:
                    type: integer
                  description: Array of skill IDs to assign to the genie.
      responses:
        '200':
          description: Updated skills array.
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      $ref: '#/components/schemas/Skill'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
  /api/agentic/genies/{id}/remove_skills:
    post:
      operationId: removeSkillsFromGenie
      summary: Workato Remove Skills from a Genie
      description: Removes one or more skills from an AI agent (genie).
      tags:
      - Genies
      parameters:
      - $ref: '#/components/parameters/GenieId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - skill_ids
              properties:
                skill_ids:
                  type: array
                  items:
                    type: integer
                  description: Array of skill IDs to remove from the genie.
      responses:
        '200':
          description: Updated skills array.
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      $ref: '#/components/schemas/Skill'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
  /api/agentic/genies/{id}/assign_knowledge_bases:
    post:
      operationId: assignKnowledgeBasesToGenie
      summary: Workato Assign Knowledge Bases to a Genie
      description: Assigns one or more knowledge bases to an AI agent (genie).
      tags:
      - Genies
      parameters:
      - $ref: '#/components/parameters/GenieId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - knowledge_base_ids
              properties:
                knowledge_base_ids:
                  type: array
                  items:
                    type: integer
                  description: Array of knowledge base IDs to assign to the genie.
      responses:
        '200':
          description: Updated knowledge bases array.
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      $ref: '#/components/schemas/KnowledgeBase'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
  /api/agentic/genies/{id}/remove_knowledge_bases:
    post:
      operationId: removeKnowledgeBasesFromGenie
      summary: Workato Remove Knowledge Bases from a Genie
      description: Removes one or more knowledge bases from an AI agent (genie).
      tags:
      - Genies
      parameters:
      - $ref: '#/components/parameters/GenieId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - knowledge_base_ids
              properties:
                knowledge_base_ids:
                  type: array
                  items:
                    type: integer
                  description: Array of knowledge base IDs to remove from the genie.
      responses:
        '200':
          description: Updated knowledge bases array.
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      $ref: '#/components/schemas/KnowledgeBase'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
  /api/agentic/genies/{id}/assign_user_groups:
    post:
      operationId: assignUserGroupsToGenie
      summary: Workato Assign User Groups to a Genie
      description: Assigns identity provider user groups to an AI agent (genie) to control access.
      tags:
      - Genies
      parameters:
      - $ref: '#/components/parameters/GenieId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - user_group_ids
              properties:
                user_group_ids:
                  type: array
                  items:
                    type: integer
                  description: Array of user group IDs to assign.
      responses:
        '200':
          description: Updated user groups array.
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      $ref: '#/components/schemas/UserGroup'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
  /api/agentic/genies/{id}/remove_user_groups:
    post:
      operationId: removeUserGroupsFromGenie
      summary: Workato Remove User Groups from a Genie
      description: Removes identity provider user groups from an AI agent (genie).
      tags:
      - Genies
      parameters:
      - $ref: '#/components/parameters/GenieId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - user_group_ids
              properties:
                user_group_ids:
                  type: array
                  items:
                    type: integer
                  description: Array of user group IDs to remove.
      responses:
        '200':
          description: Updated user groups array.
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      $ref: '#/components/schemas/UserGroup'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  schemas:
    DataSource:
      type: object
      description: A data source configuration for a knowledge base.
      properties:
        id:
          type: integer
          description: Unique identifier of the data source.
        source_type:
          type: string
          description: Type of the data source (e.g., document, table, api).
        connection_id:
          type: integer
          description: ID of the connection used to access this data source.
        config:
          type: object
          description: Source-specific configuration parameters.
          additionalProperties: true
    UserGroup:
      type: object
      description: An identity provider user group for access control.
      properties:
        id:
          type: integer
          description: Unique identifier of the user group.
        name:
          type: string
          description: Display name of the user group.
    SuccessResponse:
      type: object
      description: Standard success response.
      properties:
        success:
          type: boolean
          description: Whether the operation was successful.
          example: true
    GenieInput:
      type: object
      description: Input schema for creating or updating a genie.
      properties:
        name:
          type: string
          description: Display name of the genie.
        description:
          type: string
          description: Human-readable description of the genie's purpose.
        folder_id:
          type: integer
          description: ID of the folder to place this genie in.
        instructions:
          type: string
          description: Natural language instructions that guide the genie's behavior.
        ai_provider:
          type: string
          description: The AI model provider to use (e.g., openai, anthropic).
        shared_account_id:
          type: integer
          description: ID of the shared account for AI provider credentials.
        custom_oauth_key_id:
          type: integer
          description: ID of the custom OAuth profile for AI provider authentication.
        matrix:
          type: object
          description: Additional configuration matrix for the genie.
          additionalProperties: true
    Skill:
      type: object
      description: A recipe-backed capability that can be assigned to an AI agent as a tool.
      properties:
        id:
          type: integer
          description: Unique identifier of the skill.
        name:
          type: string
          description: Display name of the skill.
        description:
          type: string
          description: Description of what this skill enables the agent to do.
        recipe_id:
          type: integer
          description: ID of the underlying recipe that powers this skill.
        folder_id:
          type: integer
          description: ID of the folder containing this skill.
        created_at:
          type: string
          format: date-time
          description: Timestamp when the skill was created.
        updated_at:
          type: string
          format: date-time
          description: Timestamp when the skill was last updated.
    KnowledgeBase:
      type: object
      description: A collection of data sources that provides contextual information to AI agents.
      properties:
        id:
          type: integer
          description: Unique identifier of the knowledge base.
        name:
          type: string
          description: Display name of the knowledge base.
        description:
          type: string
          description: Human-readable description of the knowledge base's content.
        folder_id:
          type: integer
          description: ID of the folder containing this knowledge base.
        source_type:
          type: string
          description: The type of data sources used in this knowledge base.
        data_sources:
          type: array
          items:
            $ref: '#/components/schemas/DataSource'
          description: List of data sources configured for this knowledge base.
        created_at:
          type: string
          format: date-time
          description: Timestamp when the knowledge base was created.
        updated_at:
          type: string
          format: date-time
          description: Timestamp when the knowledge base was last updated.
    ErrorResponse:
      type: object
      description: Standard error response.
      properties:
        message:
          type: string
          description: Human-readable error message.
        code:
          type: string
          description: Machine-readable error code.
    Genie:
      type: object
      description: An AI agent configured to handle automated tasks using skills and knowledge bases.
      properties:
        id:
          type: integer
          description: Unique identifier of the genie.
        name:
          type: string
          description: Display name of the genie.
        description:
          type: string
          description: Human-readable description of the genie's purpose.
        folder_id:
          type: integer
          description: ID of the folder containing this genie.
        state:
          type: string
          description: Current operational state of the genie.
          enum:
          - running
          - stopped
        instructions:
          type: string
          description: Natural language instructions that guide the genie's behavior.
        ai_provider:
          type: string
          description: The AI model provider used by this genie.
        created_at:
          type: string
          format: date-time
          description: Timestamp when the genie was created.
        updated_at:
          type: string
          format: date-time
          description: Timestamp when the genie was last updated.
  parameters:
    Page:
      name: page
      in: query
      description: Page number for pagination (1-based).
      schema:
        type: integer
        minimum: 1
        default: 1
    PerPage:
      name: per_page
      in: query
      description: Number of results per page.
      schema:
        type: integer
        minimum: 1
        maximum: 100
        default: 100
    ProjectId:
      name: project_id
      in: query
      description: Filter results by project ID.
      schema:
        type: integer
    GenieId:
      name: id
      in: path
      required: true
      description: Unique identifier of the genie.
      schema:
        type: integer
    FolderId:
      name: folder_id
      in: query
      description: Filter results by folder ID.
      schema:
        type: integer
  responses:
    NotFound:
      description: The requested resource was not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthorized:
      description: Authentication token is missing or invalid.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    BadRequest:
      description: The request body is invalid or missing required fields.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'API client token obtained from the Workato platform. Include as Authorization: Bearer {token}.'
externalDocs:
  description: Workato Agent Studio API Documentation
  url: https://docs.workato.com/workato-api/agent-studio.html