Red Hat Ansible Automation Platform Decision Environments API

The decision-environments API from Red Hat Ansible Automation Platform — 2 operation(s) for decision-environments.

Operations 5

GET /decision-environments/ Decision environments list #
POST /decision-environments/ Decision environments create #
GET /decision-environments/{id}/ Decision environments retrieve #
PATCH /decision-environments/{id}/ Decision environments partial update #
DELETE /decision-environments/{id}/ Decision environments destroy #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/red-hat-ansible-automation-platform-decision-environments-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

red-hat-ansible-automation-platform-decision-environments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Event Driven Ansible Decision Environments API
  version: 0.2.0
servers:
- url: /api/eda/v1
tags:
- name: decision-environments
paths:
  /decision-environments/:
    get:
      operationId: decision_environments_list
      description: List decision environments
      parameters:
      - in: query
        name: name
        schema:
          type: string
        description: Filter by decision environment name.
      - name: page
        required: false
        in: query
        description: A page number within the paginated result set.
        schema:
          type: integer
      - name: page_size
        required: false
        in: query
        description: Number of results to return per page.
        schema:
          type: integer
      tags:
      - decision-environments
      security:
      - EDAJWTAuthentication: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedDecisionEnvironmentList'
          description: Return a list of decision environment.
      x-ai-description: List decision environments. Returns decision environment records. Supports filtering and pagination.
      summary: Decision environments list
      x-summary-source: derived
    post:
      operationId: decision_environments_create
      description: Create a new decision environment.
      tags:
      - decision-environments
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DecisionEnvironmentCreate'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/DecisionEnvironmentCreate'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/DecisionEnvironmentCreate'
        required: true
      security:
      - EDAJWTAuthentication: []
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DecisionEnvironment'
          description: Return the new decision environment.
      x-ai-description: Create a decision environment. Returns the created decision environment.
      summary: Decision environments create
      x-summary-source: derived
  /decision-environments/{id}/:
    get:
      operationId: decision_environments_retrieve
      description: Get a decision environment by id
      parameters:
      - in: path
        name: id
        schema:
          type: integer
        description: A unique integer value identifying this decision environment.
        required: true
      tags:
      - decision-environments
      security:
      - EDAJWTAuthentication: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DecisionEnvironmentRead'
          description: Return a decision environment by id.
      summary: Decision environments retrieve
      x-summary-source: derived
    patch:
      operationId: decision_environments_partial_update
      description: Partially update a decision environment
      parameters:
      - in: path
        name: id
        schema:
          type: integer
        description: A unique integer value identifying this decision environment.
        required: true
      tags:
      - decision-environments
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedDecisionEnvironmentCreate'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PatchedDecisionEnvironmentCreate'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/PatchedDecisionEnvironmentCreate'
      security:
      - EDAJWTAuthentication: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DecisionEnvironment'
          description: Update successful. Return an updated decision environment.
      x-ai-description: Update a decision environment by ID. Returns the updated decision environment.
      summary: Decision environments partial update
      x-summary-source: derived
    delete:
      operationId: decision_environments_destroy
      description: Delete a decision environment by id
      parameters:
      - in: query
        name: force
        schema:
          type: boolean
        description: Force deletion if there are dependent objects
      - in: path
        name: id
        schema:
          type: integer
        description: A unique integer value identifying this decision environment.
        required: true
      tags:
      - decision-environments
      security:
      - EDAJWTAuthentication: []
      responses:
        '204':
          description: Delete successful.
        '409':
          description: Decision Environment in use by Activations.
      summary: Decision environments destroy
      x-summary-source: derived
components:
  schemas:
    DecisionEnvironmentCreate:
      type: object
      description: Serializer for creating the DecisionEnvironment.
      properties:
        name:
          type: string
        description:
          type: string
        image_url:
          type: string
        organization_id:
          type: integer
        eda_credential_id:
          type:
          - integer
          - 'null'
        pull_policy:
          allOf:
          - $ref: '#/components/schemas/PullPolicyEnum'
          description: 'Pull policy for the image before running


            * `always` - Always pull container before running.

            * `missing` - Only pull the image if not present before running.

            * `never` - Never pull container before running.'
      required:
      - image_url
      - name
      - organization_id
    PullPolicyEnum:
      enum:
      - always
      - missing
      - never
      type: string
      description: '* `always` - Always pull container before running.

        * `missing` - Only pull the image if not present before running.

        * `never` - Never pull container before running.'
    OrganizationRef:
      type: object
      properties:
        id:
          type: integer
          readOnly: true
        name:
          type: string
          description: The name of this resource.
          maxLength: 512
        description:
          type: string
          description: The organization description.
      required:
      - id
      - name
    PatchedDecisionEnvironmentCreate:
      type: object
      description: Serializer for creating the DecisionEnvironment.
      properties:
        name:
          type: string
        description:
          type: string
        image_url:
          type: string
        organization_id:
          type: integer
        eda_credential_id:
          type:
          - integer
          - 'null'
        pull_policy:
          allOf:
          - $ref: '#/components/schemas/PullPolicyEnum'
          description: 'Pull policy for the image before running


            * `always` - Always pull container before running.

            * `missing` - Only pull the image if not present before running.

            * `never` - Never pull container before running.'
    DecisionEnvironmentRead:
      type: object
      description: Serializer for reading the DecisionEnvironment with embedded objects.
      properties:
        id:
          type: integer
          readOnly: true
        name:
          type: string
        description:
          type: string
        image_url:
          type: string
        organization:
          $ref: '#/components/schemas/OrganizationRef'
        eda_credential:
          allOf:
          - $ref: '#/components/schemas/EdaCredentialRef'
        pull_policy:
          allOf:
          - $ref: '#/components/schemas/PullPolicyEnum'
          description: 'Pull policy for the image before running


            * `always` - Always pull container before running.

            * `missing` - Only pull the image if not present before running.

            * `never` - Never pull container before running.'
        created_at:
          type: string
          format: date-time
          readOnly: true
        modified_at:
          type: string
          format: date-time
          readOnly: true
        created_by:
          type: object
          properties:
            id:
              type: integer
            username:
              type: string
            first_name:
              type: string
            last_name:
              type: string
        modified_by:
          type: object
          properties:
            id:
              type: integer
            username:
              type: string
            first_name:
              type: string
            last_name:
              type: string
      required:
      - created_at
      - created_by
      - id
      - image_url
      - modified_at
      - modified_by
      - name
      - organization
    PaginatedDecisionEnvironmentList:
      type: object
      properties:
        count:
          type: integer
          example: 123
        next:
          type:
          - string
          - 'null'
          format: uri
          example: /eda/api/v1/example/?page=51&page_size=100
        previous:
          type:
          - string
          - 'null'
          format: uri
          example: /eda/api/v1/example/?page=49&page_size=100
        page_size:
          type:
          - integer
          - 'null'
          example: 100
        page:
          type:
          - integer
          - 'null'
          example: 50
        results:
          type: array
          items:
            $ref: '#/components/schemas/DecisionEnvironment'
    EdaCredentialRef:
      type: object
      description: Serializer for EdaCredential reference.
      properties:
        id:
          type: integer
          readOnly: true
        name:
          type: string
        description:
          type: string
        inputs:
          type: object
          additionalProperties: true
          readOnly: true
        managed:
          type: boolean
        credential_type_id:
          type:
          - integer
          - 'null'
          readOnly: true
        organization_id:
          type: integer
          readOnly: true
      required:
      - credential_type_id
      - id
      - inputs
      - name
      - organization_id
    DecisionEnvironment:
      type: object
      properties:
        name:
          type: string
        description:
          type: string
        image_url:
          type: string
        organization_id:
          type: integer
          readOnly: true
        eda_credential_id:
          type:
          - integer
          - 'null'
          readOnly: true
        pull_policy:
          allOf:
          - $ref: '#/components/schemas/PullPolicyEnum'
          description: 'Pull policy for the image before running


            * `always` - Always pull container before running.

            * `missing` - Only pull the image if not present before running.

            * `never` - Never pull container before running.'
        created_by:
          type: object
          properties:
            id:
              type: integer
            username:
              type: string
            first_name:
              type: string
            last_name:
              type: string
        modified_by:
          type: object
          properties:
            id:
              type: integer
            username:
              type: string
            first_name:
              type: string
            last_name:
              type: string
        id:
          type: integer
          readOnly: true
        created_at:
          type: string
          format: date-time
          readOnly: true
        modified_at:
          type: string
          format: date-time
          readOnly: true
      required:
      - created_at
      - created_by
      - eda_credential_id
      - id
      - image_url
      - modified_at
      - modified_by
      - name
      - organization_id
  securitySchemes:
    EDAJWTAuthentication:
      type: apiKey
      name: X-DAB-JW-TOKEN
      in: header
    cookieAuth:
      type: apiKey
      in: cookie
      name: sessionid