Red Hat · Arazzo Workflow

Red Hat Quay Provision Organization Robot and Repository

Version 1.0.0

Confirm an organization, create a robot account for it, then create a repository.

1 workflow 3 source APIs 1 provider
View Spec View on GitHub CloudContainersEnterpriseHybrid CloudKubernetesLinuxOpen-SourceArazzoWorkflows

Provider

red-hat

Workflows

provision-org-robot-repo
Verify an organization, create a robot account, and create a repository.
Gets an organization to confirm it exists, creates a robot account in it, and creates a private repository in the organization's namespace.
3 steps inputs: orgname, repoDescription, repository, robotDescription, robotShortname, token, visibility outputs: repository, robotName
1
getOrganization
Retrieve the organization to confirm it exists before provisioning robot accounts and repositories.
2
createRobot
Create a robot account in the organization that automation systems can use to authenticate to the registry.
3
createRepository
Create a repository in the organization's namespace that the robot account can publish images to.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Red Hat Quay Provision Organization Robot and Repository
  summary: Confirm an organization, create a robot account for it, then create a repository.
  description: >-
    An automation onboarding flow for Red Hat Quay. The workflow confirms an
    organization exists, creates a robot account that CI systems can use to push
    and pull images, and then creates a private repository in the organization's
    namespace. Each step inlines its bearer token, parameters, request body,
    documented success criteria, and outputs so the flow can be executed
    directly against the Quay API.
  version: 1.0.0
  x-realizes-capability-ids:
  - BC-620.20
  x-capability-derivation:
    method: 'deterministic join: sourceDescriptions -> per-tag OpenAPI -> tag/capability edge. No classification at this step.'
    min_confidence: 0.7
    sources:
    - capability_id: BC-620.20
      capability_name: Identity & Access Management
      spec: red-hat-robot-accounts-api-openapi.yml
      confidence: 0.7
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: organizationsApi
  url: ../openapi/red-hat-organizations-api-openapi.yml
  type: openapi
- name: repositoriesApi
  url: ../openapi/red-hat-repositories-api-openapi.yml
  type: openapi
- name: robotAccountsApi
  url: ../openapi/red-hat-robot-accounts-api-openapi.yml
  type: openapi
workflows:
- workflowId: provision-org-robot-repo
  summary: Verify an organization, create a robot account, and create a repository.
  description: >-
    Gets an organization to confirm it exists, creates a robot account in it,
    and creates a private repository in the organization's namespace.
  inputs:
    type: object
    required:
    - token
    - orgname
    - robotShortname
    - repository
    properties:
      token:
        type: string
        description: OAuth bearer token for the Quay API.
      orgname:
        type: string
        description: The organization name to provision against.
      robotShortname:
        type: string
        description: The short name for the new robot account.
      robotDescription:
        type: string
        description: A description of the robot account.
      repository:
        type: string
        description: The short name of the repository to create.
      visibility:
        type: string
        description: Repository visibility, either "public" or "private".
      repoDescription:
        type: string
        description: A description for the repository.
  steps:
  - stepId: getOrganization
    description: >-
      Retrieve the organization to confirm it exists before provisioning robot
      accounts and repositories.
    operationId: getOrganization
    parameters:
    - name: orgname
      in: path
      value: $inputs.orgname
    - name: Authorization
      in: header
      value: Bearer $inputs.token
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      isAdmin: $response.body#/is_admin
  - stepId: createRobot
    description: >-
      Create a robot account in the organization that automation systems can use
      to authenticate to the registry.
    operationId: createOrgRobot
    parameters:
    - name: orgname
      in: path
      value: $inputs.orgname
    - name: robot_shortname
      in: path
      value: $inputs.robotShortname
    - name: Authorization
      in: header
      value: Bearer $inputs.token
    requestBody:
      contentType: application/json
      payload:
        description: $inputs.robotDescription
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      robotName: $response.body#/name
      robotToken: $response.body#/token
  - stepId: createRepository
    description: >-
      Create a repository in the organization's namespace that the robot account
      can publish images to.
    operationId: createRepository
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.token
    requestBody:
      contentType: application/json
      payload:
        repository: $inputs.repository
        namespace: $inputs.orgname
        visibility: $inputs.visibility
        description: $inputs.repoDescription
    successCriteria:
    - condition: $statusCode == 201
  outputs:
    robotName: $steps.createRobot.outputs.robotName
    repository: $inputs.repository

Work with this as data

Every workflow 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 arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • 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 workflow
curl "https://apis.io/api/v1/arazzo/red-hat-quay-provision-org-robot-repo-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?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.