Skip to content

Batch get operations by id

POST
/organizations/{organizationId}/integrations/operations/batch-get
curl --request POST \
--url https://api-dev.mindflow.io/v1/organizations/%24CURRENT_ORGANIZATION_ID/integrations/operations/batch-get \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "operationIds": [ "OPER-550e8400-e29b-41d4-a716-446655440000" ] }'

Returns vendor, product, and operation records for each requested operation version id, including request schemas used when binding flow steps. Every id must exist; one unknown id fails the whole request with 404. Send between 1 and 100 ids per call. Operations come back in request order, without duplicates; vendors and products are sorted by name.

Auth

Authorization: Bearer <token> with viewOrganization on the path organization.

Errors

400 when operationIds is empty or exceeds the maximum length. 404 when any id is unknown. 500 when a stored request schema cannot be read. 401, 403, and 429 use the platform Problem Details responses.

organizationId
required
Organization id

Opaque id of the organization that owns the resource. In a playbook step this can be filled from the current organization when the caller leaves it unset.

string
default: $CURRENT_ORGANIZATION_ID >= 1 characters <= 128 characters /^[^\p{C}]+$/
Example
ORGA-57b858ed-ec60-4507-b2ef-ea58244ac742

Organization that owns the catalog view.

Media typeapplication/json
Batch get operations request

Batch operation ids for catalog hydration.

object
operationIds
required

Between 1 and 100 operation version ids per request.

Array<string>
>= 1 items <= 100 items
Example
{
"operationIds": [
"OPER-550e8400-e29b-41d4-a716-446655440000"
]
}

Hydrated vendors, products, and operations for the requested ids.

Media typeapplication/json
Batch get operations response

Full operations for the requested ids, with the vendors and products they reference.

object
vendors
required

Vendors referenced by the included operations.

Array<object>
<= 100 items
Integration vendor

Root vendor grouping in the integration catalog.

object
vendorId
required

Vendor id. Pass the value unchanged.

string
>= 1 characters <= 128 characters
name
required

Display name.

string
>= 1 characters <= 256 characters
products
required

Products referenced by the included operations.

Array<object>
<= 100 items
Integration product

One product (service) under a vendor.

object
productId
required

Product id. Pass the value unchanged.

string
>= 1 characters <= 128 characters
vendorId
required

Parent vendor id.

string
>= 1 characters <= 128 characters
vendorName

Parent vendor display name when known.

string
>= 1 characters <= 256 characters
name
required

Product display name.

string
>= 1 characters <= 256 characters
serviceId

Service id alias, usually the same as productId.

string
>= 1 characters <= 128 characters
operations
required

Full operation records including request schemas.

Array<object>
<= 100 items
Integration operation

One integration operation. Search responses omit requestSchema, examples, and capabilities. Batch get and get responses include the fields needed to bind parameters at compile time.

object
operationId
required

Stable operation id. Pass the value unchanged.

string
>= 1 characters <= 128 characters
operationVersionId
required

Version-scoped operation id for batch get and step binding.

string
>= 1 characters <= 128 characters
openapiOperationId

Vendor OpenAPI operationId when present.

string
>= 1 characters <= 256 characters
name
required

Display name.

string
>= 1 characters <= 256 characters
summary
required

Short description of what the operation does. Text longer than 2048 characters is truncated with an ellipsis.

string
>= 1 characters <= 2048 characters
productId

Product id that owns this operation.

string
>= 1 characters <= 128 characters
vendorId

Vendor id for the product tree that contains this operation.

string
>= 1 characters <= 128 characters
serviceName

Display name of the product or service.

string
>= 1 characters <= 256 characters
serviceId

Service node id, usually the same as productId.

string
>= 1 characters <= 128 characters
method

HTTP method for REST operations (for example GET or POST).

string
>= 1 characters <= 16 characters
queryPath

URL path template for the endpoint.

string
>= 1 characters <= 2048 characters
server

Base server URL for the operation.

string
>= 1 characters <= 2048 characters
bodyContentType

Request body content type (for example application/json).

string
>= 1 characters <= 128 characters
requestSchema
Integration request schema

Fully hydrated request contract when the response includes compile metadata.

object
parameters
required

Parameters accepted by the operation, indexed by parameter id.

object
key
additional properties
Integration request parameter

Item schema when type is array.

object
name

OpenAPI parameter name used for display and binding.

string
>= 1 characters <= 256 characters
in

Where the value is sent on the HTTP request.

string
Allowed values: path query header body
type
required

JSON Schema type string (for example string, object, or array).

string
>= 1 characters <= 64 characters
required
One of:
boolean
usage

config parameters bind to stored credentials or plan variables. payload parameters bind to caller or trigger data.

string
Allowed values: config payload
description

Human-readable parameter description.

string
>= 1 characters <= 4096 characters
default

Default value when the caller omits the parameter.

properties

Child parameters when type is object.

object
key
additional properties
object recursive
additionalProperties
One of:
boolean
items
object recursive
capabilities
Integration operation capabilities

Resume capabilities when the response includes full metadata.

object
resume

structured-action resumes with structured UI actions. link resumes through a URL the caller opens.

string
Allowed values: structured-action link
examples
Integration operation examples

Example payloads when the response includes full metadata.

object
responseBody

Sample success response body.

Examples
ExamplesingleOperation

One operation hydrated

Single id in operationIds.

{
"vendors": [
{
"vendorId": "SERV-550e8400-e29b-41d4-a716-446655440001",
"name": "Example Vendor"
}
],
"products": [
{
"productId": "SERV-550e8400-e29b-41d4-a716-446655440010",
"vendorId": "SERV-550e8400-e29b-41d4-a716-446655440001",
"name": "Example API"
}
],
"operations": [
{
"operationId": "OPER-550e8400-e29b-41d4-a716-446655440000",
"operationVersionId": "OPER-550e8400-e29b-41d4-a716-446655440000",
"name": "Get resource",
"summary": "Fetches one resource by id.",
"requestSchema": {
"parameters": {
"PARAM-00000000-0000-4000-8000-000000000001": {
"type": "string",
"name": "id",
"in": "path",
"required": true
}
}
}
}
]
}
X-RateLimit-Limit
integer format: int32
>= 1 <= 1000
Example
1000

Maximum number of requests allowed in the current window. Present when this response is rate limited.

X-RateLimit-Remaining
integer format: int32
<= 1000
Example
42

Number of requests still allowed in the current window. 0 means the next call can return 429 until the window resets.

X-RateLimit-Reset
string format: date-time
<= 29 characters
Example
2026-03-20T15:31:00.000Z

Time when the current window resets, as ISO 8601 UTC. After this time, X-RateLimit-Remaining starts over.

Retry-After
integer format: int32
>= 1 <= 3600
Example
30

HTTP Retry-After value in seconds. Wait at least this long before retrying a 429 response.

Access-Control-Allow-Origin
string
Allowed values: *
Example
*

CORS Access-Control-Allow-Origin value. Origin allowed to read this response from a browser. * means any origin may read it.

The request was invalid. Common causes include:

  • Invalid timestamp format.
  • Using cursor with before or after.
  • Missing limit when using before or after.
  • Invalid field names in the fields parameter.

See the error response for specific details about what went wrong.

Media typeapplication/json
object
type

URI reference identifying the problem type. When absent, “about:blank” per RFC 9457 Section 3.1.1.

string format: uri-reference
default: about:blank <= 2048 characters
title
required

Short, human-readable summary of the problem type (RFC 9457 Section 3.1.3).

string
<= 256 characters /^[^\p{C}]+$/
status
required

HTTP status code for this occurrence (advisory; same as response status) (RFC 9457 Section 3.1.2).

integer format: int32
>= 100 <= 599
detail

Human-readable explanation specific to this occurrence (RFC 9457 Section 3.1.4).

string
<= 500 characters
instance

URI reference identifying the specific occurrence (RFC 9457 Section 3.1.5).

string format: uri-reference
<= 2048 characters
code

Always BAD_REQUEST on this response. Read detail for which value to change, then send a corrected request.

string
Allowed values: BAD_REQUEST
Example
{
"type": "about:blank",
"title": "Bad Request",
"status": 400,
"detail": "The request body or query is invalid.",
"code": "BAD_REQUEST"
}
X-RateLimit-Limit
integer format: int32
>= 1 <= 1000
Example
1000

Maximum number of requests allowed in the current window. Present when this response is rate limited.

X-RateLimit-Remaining
integer format: int32
<= 1000
Example
42

Number of requests still allowed in the current window. 0 means the next call can return 429 until the window resets.

X-RateLimit-Reset
string format: date-time
<= 29 characters
Example
2026-03-20T15:31:00.000Z

Time when the current window resets, as ISO 8601 UTC. After this time, X-RateLimit-Remaining starts over.

Retry-After
integer format: int32
>= 1 <= 3600
Example
30

HTTP Retry-After value in seconds. Wait at least this long before retrying a 429 response.

Access-Control-Allow-Origin
string
Allowed values: *
Example
*

CORS Access-Control-Allow-Origin value. Origin allowed to read this response from a browser. * means any origin may read it.

Authentication failed. The request lacks valid credentials or the provided credentials are invalid.

Ensure you have:

  • A valid API key or token.
  • Proper authentication headers.
  • Required permissions.
Media typeapplication/json
object
type

URI reference identifying the problem type. When absent, “about:blank” per RFC 9457 Section 3.1.1.

string format: uri-reference
default: about:blank <= 2048 characters
title
required

Short, human-readable summary of the problem type (RFC 9457 Section 3.1.3).

string
<= 256 characters /^[^\p{C}]+$/
status
required

HTTP status code for this occurrence (advisory; same as response status) (RFC 9457 Section 3.1.2).

integer format: int32
>= 100 <= 599
detail

Human-readable explanation specific to this occurrence (RFC 9457 Section 3.1.4).

string
<= 500 characters
instance

URI reference identifying the specific occurrence (RFC 9457 Section 3.1.5).

string format: uri-reference
<= 2048 characters
code

Always MISSING_OR_INVALID_TOKEN on this response. Branch on this value, not on detail.

string
Allowed values: MISSING_OR_INVALID_TOKEN
Example
{
"type": "about:blank",
"title": "Unauthorized",
"status": 401,
"detail": "The bearer token is missing or invalid.",
"code": "MISSING_OR_INVALID_TOKEN"
}
X-RateLimit-Limit
integer format: int32
>= 1 <= 1000
Example
1000

Maximum number of requests allowed in the current window. Present when this response is rate limited.

X-RateLimit-Remaining
integer format: int32
<= 1000
Example
42

Number of requests still allowed in the current window. 0 means the next call can return 429 until the window resets.

X-RateLimit-Reset
string format: date-time
<= 29 characters
Example
2026-03-20T15:31:00.000Z

Time when the current window resets, as ISO 8601 UTC. After this time, X-RateLimit-Remaining starts over.

Retry-After
integer format: int32
>= 1 <= 3600
Example
30

HTTP Retry-After value in seconds. Wait at least this long before retrying a 429 response.

Access-Control-Allow-Origin
string
Allowed values: *
Example
*

CORS Access-Control-Allow-Origin value. Origin allowed to read this response from a browser. * means any origin may read it.

Forbidden. The server understood the request but refuses to authorize it.

For connector APIs, this often indicates insufficient permissions on the remote system (for example SFTP write access denied).

Media typeapplication/json
object
type

URI reference identifying the problem type. When absent, “about:blank” per RFC 9457 Section 3.1.1.

string format: uri-reference
default: about:blank <= 2048 characters
title
required

Short, human-readable summary of the problem type (RFC 9457 Section 3.1.3).

string
<= 256 characters /^[^\p{C}]+$/
status
required

HTTP status code for this occurrence (advisory; same as response status) (RFC 9457 Section 3.1.2).

integer format: int32
>= 100 <= 599
detail

Human-readable explanation specific to this occurrence (RFC 9457 Section 3.1.4).

string
<= 500 characters
instance

URI reference identifying the specific occurrence (RFC 9457 Section 3.1.5).

string format: uri-reference
<= 2048 characters
code

Always FORBIDDEN on this response. The token was accepted and the action is not allowed.

string
Allowed values: FORBIDDEN
Example
{
"type": "about:blank",
"title": "Forbidden",
"status": 403,
"detail": "You cannot perform this action.",
"code": "FORBIDDEN"
}
X-RateLimit-Limit
integer format: int32
>= 1 <= 1000
Example
1000

Maximum number of requests allowed in the current window. Present when this response is rate limited.

X-RateLimit-Remaining
integer format: int32
<= 1000
Example
42

Number of requests still allowed in the current window. 0 means the next call can return 429 until the window resets.

X-RateLimit-Reset
string format: date-time
<= 29 characters
Example
2026-03-20T15:31:00.000Z

Time when the current window resets, as ISO 8601 UTC. After this time, X-RateLimit-Remaining starts over.

Retry-After
integer format: int32
>= 1 <= 3600
Example
30

HTTP Retry-After value in seconds. Wait at least this long before retrying a 429 response.

Access-Control-Allow-Origin
string
Allowed values: *
Example
*

CORS Access-Control-Allow-Origin value. Origin allowed to read this response from a browser. * means any origin may read it.

The requested resource was not found.

Media typeapplication/json
object
type

URI reference identifying the problem type. When absent, “about:blank” per RFC 9457 Section 3.1.1.

string format: uri-reference
default: about:blank <= 2048 characters
title
required

Short, human-readable summary of the problem type (RFC 9457 Section 3.1.3).

string
<= 256 characters /^[^\p{C}]+$/
status
required

HTTP status code for this occurrence (advisory; same as response status) (RFC 9457 Section 3.1.2).

integer format: int32
>= 100 <= 599
detail

Human-readable explanation specific to this occurrence (RFC 9457 Section 3.1.4).

string
<= 500 characters
instance

URI reference identifying the specific occurrence (RFC 9457 Section 3.1.5).

string format: uri-reference
<= 2048 characters
code

Always NOT_FOUND on this response. The resource is not available to this caller.

string
Allowed values: NOT_FOUND
Example
{
"type": "about:blank",
"title": "Not Found",
"status": 404,
"detail": "The resource was not found.",
"code": "NOT_FOUND"
}
X-RateLimit-Limit
integer format: int32
>= 1 <= 1000
Example
1000

Maximum number of requests allowed in the current window. Present when this response is rate limited.

X-RateLimit-Remaining
integer format: int32
<= 1000
Example
42

Number of requests still allowed in the current window. 0 means the next call can return 429 until the window resets.

X-RateLimit-Reset
string format: date-time
<= 29 characters
Example
2026-03-20T15:31:00.000Z

Time when the current window resets, as ISO 8601 UTC. After this time, X-RateLimit-Remaining starts over.

Retry-After
integer format: int32
>= 1 <= 3600
Example
30

HTTP Retry-After value in seconds. Wait at least this long before retrying a 429 response.

Access-Control-Allow-Origin
string
Allowed values: *
Example
*

CORS Access-Control-Allow-Origin value. Origin allowed to read this response from a browser. * means any origin may read it.

Too many requests. The request rate limit has been exceeded.

Please wait until the rate limit window resets before making additional requests.

Media typeapplication/json
object
type

URI reference identifying the problem type. When absent, “about:blank” per RFC 9457 Section 3.1.1.

string format: uri-reference
default: about:blank <= 2048 characters
title
required

Short, human-readable summary of the problem type (RFC 9457 Section 3.1.3).

string
<= 256 characters /^[^\p{C}]+$/
status
required

HTTP status code for this occurrence (advisory; same as response status) (RFC 9457 Section 3.1.2).

integer format: int32
>= 100 <= 599
detail

Human-readable explanation specific to this occurrence (RFC 9457 Section 3.1.4).

string
<= 500 characters
instance

URI reference identifying the specific occurrence (RFC 9457 Section 3.1.5).

string format: uri-reference
<= 2048 characters
code

Always RATE_LIMIT_EXCEEDED on this response. Wait Retry-After seconds before retrying.

string
Allowed values: RATE_LIMIT_EXCEEDED
Example
{
"type": "about:blank",
"title": "Too Many Requests",
"status": 429,
"detail": "The request rate limit has been exceeded.",
"code": "RATE_LIMIT_EXCEEDED"
}
X-RateLimit-Limit
integer format: int32
>= 1 <= 1000
Example
1000

Maximum number of requests allowed in the current window. Present when this response is rate limited.

X-RateLimit-Remaining
integer format: int32
<= 1000
Example
42

Number of requests still allowed in the current window. 0 means the next call can return 429 until the window resets.

X-RateLimit-Reset
string format: date-time
<= 29 characters
Example
2026-03-20T15:31:00.000Z

Time when the current window resets, as ISO 8601 UTC. After this time, X-RateLimit-Remaining starts over.

Retry-After
integer format: int32
>= 1 <= 3600
Example
30

HTTP Retry-After value in seconds. Wait at least this long before retrying a 429 response.

Access-Control-Allow-Origin
string
Allowed values: *
Example
*

CORS Access-Control-Allow-Origin value. Origin allowed to read this response from a browser. * means any origin may read it.

Internal server error. The server encountered an unexpected condition that prevented it from fulfilling the request.

Please try again later or contact support if the problem persists.

Media typeapplication/json
object
type

URI reference identifying the problem type. When absent, “about:blank” per RFC 9457 Section 3.1.1.

string format: uri-reference
default: about:blank <= 2048 characters
title
required

Short, human-readable summary of the problem type (RFC 9457 Section 3.1.3).

string
<= 256 characters /^[^\p{C}]+$/
status
required

HTTP status code for this occurrence (advisory; same as response status) (RFC 9457 Section 3.1.2).

integer format: int32
>= 100 <= 599
detail

Human-readable explanation specific to this occurrence (RFC 9457 Section 3.1.4).

string
<= 500 characters
instance

URI reference identifying the specific occurrence (RFC 9457 Section 3.1.5).

string format: uri-reference
<= 2048 characters
code

Always INTERNAL_ERROR on this response. Retry later. Do not retry a create in a tight loop.

string
Allowed values: INTERNAL_ERROR
Example
{
"type": "about:blank",
"title": "Internal Server Error",
"status": 500,
"detail": "The request could not be completed.",
"code": "INTERNAL_ERROR"
}
X-RateLimit-Limit
integer format: int32
>= 1 <= 1000
Example
1000

Maximum number of requests allowed in the current window. Present when this response is rate limited.

X-RateLimit-Remaining
integer format: int32
<= 1000
Example
42

Number of requests still allowed in the current window. 0 means the next call can return 429 until the window resets.

X-RateLimit-Reset
string format: date-time
<= 29 characters
Example
2026-03-20T15:31:00.000Z

Time when the current window resets, as ISO 8601 UTC. After this time, X-RateLimit-Remaining starts over.

Retry-After
integer format: int32
>= 1 <= 3600
Example
30

HTTP Retry-After value in seconds. Wait at least this long before retrying a 429 response.

Access-Control-Allow-Origin
string
Allowed values: *
Example
*

CORS Access-Control-Allow-Origin value. Origin allowed to read this response from a browser. * means any origin may read it.