List project input requests

http
GET /projects/{project_reference}/input-requests

List the input requests in a project that the caller can see.

Servers

JSON
[  {    "url": "https://api.veryfront.com"  }]

Authentication

JSON
[  {    "bearerAuth": []  },  {    "apiKeyAuth": []  }]
JSON
{  "bearerAuth": {    "type": "http",    "scheme": "bearer",    "bearerFormat": "JWT or API Key",    "description": "Use a JWT bearer token or a Veryfront API key in the `Authorization` header."  },  "apiKeyAuth": {    "type": "apiKey",    "in": "header",    "name": "X-API-Key",    "description": "Alternative API key header for `vf_<prefix>_<secret>` tokens."  }}

Parameters

NameLocationRequiredDescription
project_referencepathYes
statusqueryNoLifecycle status for the target record.
cursorqueryNoOpaque cursor pointing at the next page. Omit it to read the first page.
limitqueryNoMaximum number of records in a page, from 1 to 100. Defaults to 20.

Parameter contracts

JSON
[  {    "schema": {      "type": "string",      "minLength": 1    },    "required": true,    "example": "example",    "name": "project_reference",    "in": "path"  },  {    "schema": {      "type": "string",      "enum": [        "open",        "submitted",        "cancelled",        "expired"      ],      "description": "Lifecycle status for the target record."    },    "required": false,    "description": "Lifecycle status for the target record.",    "name": "status",    "in": "query"  },  {    "schema": {      "$ref": "#/components/schemas/PaginationCursor"    },    "required": false,    "description": "Opaque cursor pointing at the next page. Omit it to read the first page.",    "name": "cursor",    "in": "query"  },  {    "schema": {      "type": "integer",      "minimum": 1,      "maximum": 100,      "default": 20,      "description": "Maximum number of records in a page, from 1 to 100. Defaults to 20.",      "format": "int32"    },    "required": false,    "description": "Maximum number of records in a page, from 1 to 100. Defaults to 20.",    "name": "limit",    "in": "query"  }]

Responses

200

Input request page

JSON
{  "description": "Input request page",  "content": {    "application/json": {      "schema": {        "$ref": "#/components/schemas/ListInputRequestsResponse"      }    }  }}

400

Bad request

JSON
{  "description": "Bad request",  "content": {    "application/problem+json": {      "schema": {        "allOf": [          {            "$ref": "#/components/schemas/TargetRunProblem"          },          {            "properties": {              "status": {                "const": 400              }            }          }        ]      }    }  }}

401

Unauthorized

JSON
{  "description": "Unauthorized",  "content": {    "application/problem+json": {      "schema": {        "allOf": [          {            "$ref": "#/components/schemas/TargetRunProblem"          },          {            "properties": {              "status": {                "const": 401              }            }          }        ]      }    }  }}

403

Forbidden

JSON
{  "description": "Forbidden",  "content": {    "application/problem+json": {      "schema": {        "allOf": [          {            "$ref": "#/components/schemas/TargetRunProblem"          },          {            "properties": {              "status": {                "const": 403              }            }          }        ]      }    }  }}

404

Not found

JSON
{  "description": "Not found",  "content": {    "application/problem+json": {      "schema": {        "allOf": [          {            "$ref": "#/components/schemas/TargetRunProblem"          },          {            "properties": {              "status": {                "const": 404              }            }          }        ]      }    }  }}

429

Rate limit exceeded

JSON
{  "description": "Rate limit exceeded",  "headers": {    "Retry-After": {      "schema": {        "type": "integer",        "format": "int32",        "minimum": 1      }    }  },  "content": {    "application/problem+json": {      "schema": {        "allOf": [          {            "$ref": "#/components/schemas/TargetRunProblem"          },          {            "properties": {              "status": {                "const": 429              }            }          }        ]      }    }  }}

Referenced contracts

components/parameters/PaginationCursor

JSON
{  "schema": {    "$ref": "#/components/schemas/PaginationCursor"  },  "required": false,  "description": "Opaque cursor pointing at the next page. Omit it to read the first page.",  "name": "cursor",  "in": "query"}

components/schemas/PaginationCursor

JSON
{  "type": "string",  "description": "Opaque cursor pointing at the next page. Omit it to read the first page."}

components/schemas/ListInputRequestsResponse

JSON
{  "type": "object",  "properties": {    "data": {      "type": "array",      "items": {        "$ref": "#/components/schemas/InputRequest"      }    },    "page_info": {      "$ref": "#/components/schemas/RunsPageInfo"    }  },  "required": [    "data",    "page_info"  ]}

components/schemas/InputRequest

JSON
{  "type": "object",  "properties": {    "input_request_id": {      "type": "string",      "format": "uuid",      "description": "Unique input request ID."    },    "project_id": {      "type": "string",      "format": "uuid",      "description": "Project inherited from the run."    },    "run_id": {      "type": "string",      "format": "uuid",      "description": "Run waiting for this input."    },    "kind": {      "type": "string",      "enum": [        "form"      ],      "description": "How the request is presented. `form` collects `fields`."    },    "responder_rules": {      "$ref": "#/components/schemas/InputRequestResponderRules"    },    "tool_call": {      "$ref": "#/components/schemas/InputRequestToolCall"    },    "delivery": {      "type": "string",      "enum": [        "tool_result",        "none"      ],      "description": "`tool_result` hands the answer to the waiting tool call. `none` leaves the runtime to read the request."    },    "title": {      "type": "string",      "minLength": 1,      "maxLength": 1000,      "description": "Question or decision shown to the responder."    },    "fields": {      "type": "array",      "items": {        "$ref": "#/components/schemas/InputRequestField"      },      "description": "Fields the responder can fill in."    },    "status": {      "type": "string",      "enum": [        "open",        "submitted",        "cancelled",        "expired"      ],      "description": "Current resolution state."    },    "requested_responder_type": {      "type": "string",      "enum": [        "human",        "agent",        "system"      ],      "description": "Required responder role; the authenticated actor identifies who actually responded."    },    "response": {      "anyOf": [        {          "$ref": "#/components/schemas/InputResponse"        },        {          "type": "null"        },        {          "type": "null"        }      ],      "description": "Submitted response, or null before submission or after cancellation or expiry."    },    "created_at": {      "type": "string",      "format": "date-time",      "description": "When the request was created."    },    "expires_at": {      "type": "string",      "format": "date-time",      "description": "When the request expires."    },    "resolved_at": {      "type": "string",      "format": "date-time",      "description": "When the request was submitted, cancelled or expired."    },    "tool_call_id": {      "type": "string",      "minLength": 1,      "maxLength": 128,      "description": "Tool invocation waiting for the response."    },    "conversation_id": {      "type": "string",      "format": "uuid",      "description": "Conversation inherited from the run."    },    "description": {      "type": "string",      "description": "Additional instructions for the responder."    },    "metadata": {      "type": "object",      "additionalProperties": {        "description": "A JSON value."      },      "description": "Additional resource metadata."    },    "can_respond": {      "type": "boolean",      "description": "On reads: whether the caller may answer this open request, now or after signing in again. A run that ends meanwhile can still refuse the answer."    }  },  "required": [    "input_request_id",    "project_id",    "run_id",    "kind",    "delivery",    "title",    "fields",    "status",    "requested_responder_type",    "response",    "created_at"  ],  "allOf": [    {      "if": {        "properties": {          "status": {            "enum": [              "submitted"            ]          }        },        "required": [          "status"        ]      },      "then": {        "properties": {          "response": {            "type": "object"          }        }      },      "else": {        "properties": {          "response": {            "type": "null"          }        }      }    },    {      "if": {        "properties": {          "status": {            "enum": [              "open"            ]          }        },        "required": [          "status"        ]      },      "then": {        "not": {          "required": [            "resolved_at"          ]        }      },      "else": {        "required": [          "resolved_at"        ]      }    }  ]}

components/schemas/InputRequestResponderRules

JSON
{  "type": "object",  "properties": {    "exclude_run_starters": {      "type": "boolean",      "description": "Nobody who started the run may answer. The run starters may withdraw the request instead."    },    "required_capability": {      "type": "string",      "enum": [        "project.approvals.decide"      ],      "description": "Project capability the responder must hold."    },    "step_up_seconds": {      "type": "integer",      "exclusiveMinimum": 0,      "maximum": 86400,      "description": "The responder must have signed in within this many seconds."    },    "excluded_user_ids": {      "type": "array",      "items": {        "type": "string"      },      "description": "Users the server excluded from answering."    }  },  "required": [    "excluded_user_ids"  ],  "description": "Who may answer. Absent: the run’s own access rules.",  "x-ref-description": "Who may answer. Absent: the run’s own access rules."}

components/schemas/InputRequestToolCall

JSON
{  "type": "object",  "properties": {    "name": {      "type": "string",      "minLength": 1,      "maxLength": 128,      "description": "Tool the agent wants to run."    },    "arguments": {      "type": "object",      "additionalProperties": {        "description": "A JSON value."      },      "description": "Arguments of that exact call."    }  },  "required": [    "name",    "arguments"  ],  "additionalProperties": false,  "description": "The tool call the request is about.",  "x-ref-description": "The tool call the request is about."}

components/schemas/InputRequestField

JSON
{  "anyOf": [    {      "type": "object",      "properties": {        "name": {          "type": "string",          "minLength": 1,          "maxLength": 128        },        "label": {          "type": "string",          "maxLength": 1000        },        "description": {          "type": "string",          "maxLength": 4000        },        "required": {          "type": "boolean",          "default": false        },        "type": {          "type": "string",          "enum": [            "password"          ]        }      },      "required": [        "name",        "type"      ],      "additionalProperties": false    },    {      "type": "object",      "properties": {        "name": {          "type": "string",          "minLength": 1,          "maxLength": 128        },        "label": {          "type": "string",          "maxLength": 1000        },        "description": {          "type": "string",          "maxLength": 4000        },        "required": {          "type": "boolean",          "default": false        },        "type": {          "type": "string",          "enum": [            "text",            "textarea",            "email",            "url"          ]        },        "default": {          "type": "string"        }      },      "required": [        "name",        "type"      ],      "additionalProperties": false    },    {      "type": "object",      "properties": {        "name": {          "type": "string",          "minLength": 1,          "maxLength": 128        },        "label": {          "type": "string",          "maxLength": 1000        },        "description": {          "type": "string",          "maxLength": 4000        },        "required": {          "type": "boolean",          "default": false        },        "type": {          "type": "string",          "enum": [            "number"          ]        },        "default": {          "type": "number"        }      },      "required": [        "name",        "type"      ],      "additionalProperties": false    },    {      "type": "object",      "properties": {        "name": {          "type": "string",          "minLength": 1,          "maxLength": 128        },        "label": {          "type": "string",          "maxLength": 1000        },        "description": {          "type": "string",          "maxLength": 4000        },        "required": {          "type": "boolean",          "default": false        },        "type": {          "type": "string",          "enum": [            "checkbox",            "confirm"          ]        },        "default": {          "type": "boolean"        }      },      "required": [        "name",        "type"      ],      "additionalProperties": false    },    {      "type": "object",      "properties": {        "name": {          "type": "string",          "minLength": 1,          "maxLength": 128        },        "label": {          "type": "string",          "maxLength": 1000        },        "description": {          "type": "string",          "maxLength": 4000        },        "required": {          "type": "boolean",          "default": false        },        "type": {          "type": "string",          "enum": [            "select",            "radio"          ]        },        "options": {          "type": "array",          "items": {            "type": "object",            "properties": {              "value": {                "type": "string",                "minLength": 1              },              "label": {                "type": "string",                "minLength": 1              },              "description": {                "type": "string"              },              "recommended": {                "type": "boolean"              }            },            "required": [              "value",              "label"            ],            "additionalProperties": false          },          "minItems": 1,          "maxItems": 100        },        "default": {          "type": "string"        }      },      "required": [        "name",        "type",        "options"      ],      "additionalProperties": false    }  ]}

components/schemas/InputResponse

JSON
{  "type": "object",  "properties": {    "response_id": {      "type": "string",      "format": "uuid",      "description": "Unique response ID."    },    "values": {      "$ref": "#/components/schemas/InputValues"    },    "actor": {      "anyOf": [        {          "$ref": "#/components/schemas/Actor"        },        {          "$ref": "#/components/schemas/UnavailableActor"        }      ],      "description": "Authenticated principal that submitted the response, or `unavailable` for a historical response without authoritative provenance."    },    "redacted_fields": {      "type": "array",      "items": {        "type": "string",        "minLength": 1,        "maxLength": 128      },      "description": "Names of submitted secret fields omitted from values."    },    "created_at": {      "type": "string",      "format": "date-time",      "description": "When the response was submitted."    }  },  "required": [    "response_id",    "values",    "actor",    "created_at"  ]}

components/schemas/InputValues

JSON
{  "type": "object",  "additionalProperties": {    "anyOf": [      {        "type": "string"      },      {        "type": "number"      },      {        "type": "boolean"      },      {        "type": "null"      },      {        "type": "null"      }    ]  },  "description": "Submitted values keyed by field name; password values are omitted from reads.",  "x-ref-description": "Submitted values keyed by field name; password values are omitted from reads."}

components/schemas/Actor

JSON
{  "type": "object",  "properties": {    "type": {      "type": "string",      "enum": [        "user",        "api_key",        "service_account",        "system"      ]    },    "id": {      "type": "string",      "minLength": 1,      "maxLength": 128    }  },  "required": [    "type",    "id"  ],  "description": "Immediate authenticated initiator, recorded by the server; execution credentials identify their issuing service account, not the original caller."}

components/schemas/UnavailableActor

JSON
{  "type": "object",  "properties": {    "type": {      "type": "string",      "enum": [        "unavailable"      ]    },    "reason": {      "type": "string",      "enum": [        "not_recorded",        "identity_removed"      ],      "description": "`not_recorded`: the server never stored the submitting credential. `identity_removed`: the recorded identity was later revoked or deleted."    },    "legacy_role": {      "type": "string",      "enum": [        "human",        "agent",        "integration",        "system",        "user",        "api_key",        "service_account"      ],      "description": "Role tag stored with the response. It is not an authenticated actor type."    },    "legacy_id": {      "type": "string",      "minLength": 1,      "maxLength": 255,      "description": "Actor ID stored with the response. It is not promoted to an authenticated actor."    }  },  "required": [    "type",    "reason"  ],  "additionalProperties": false,  "description": "A historical response without authoritative submitting-credential provenance. The server never infers or looks up a replacement actor."}

components/schemas/RunsPageInfo

JSON
{  "type": "object",  "properties": {    "next": {      "type": [        "string",        "null"      ]    }  },  "required": [    "next"  ],  "description": "Opaque cursor for the next page; null means there are no more results."}

components/schemas/TargetRunProblem

JSON
{  "type": "object",  "properties": {    "type": {      "type": "string",      "description": "Problem type URI reference."    },    "title": {      "type": "string"    },    "status": {      "type": "integer",      "minimum": 400,      "maximum": 599,      "format": "int64"    },    "code": {      "type": "string",      "minLength": 1,      "maxLength": 128    },    "cause": {      "type": "string",      "enum": [        "schedule_concurrency_forbidden",        "schedule_fire_in_progress",        "schedule_run_limit_reached"      ],      "description": "Schedule admission refusal."    },    "detail": {      "type": "string"    },    "instance": {      "type": "string"    },    "errors": {      "type": "array",      "items": {        "type": "object",        "properties": {          "field": {            "type": "string"          },          "message": {            "type": "string"          }        },        "required": [          "field",          "message"        ]      }    }  },  "required": [    "type",    "title",    "status",    "code"  ]}

Operation contract

JSON
{  "operationId": "listProjectInputRequests",  "tags": [    "execution/Runs/Run Input Requests"  ],  "summary": "List project input requests",  "description": "List the input requests in a project that the caller can see.",  "parameters": [    {      "schema": {        "type": "string",        "minLength": 1      },      "required": true,      "example": "example",      "name": "project_reference",      "in": "path"    },    {      "schema": {        "type": "string",        "enum": [          "open",          "submitted",          "cancelled",          "expired"        ],        "description": "Lifecycle status for the target record."      },      "required": false,      "description": "Lifecycle status for the target record.",      "name": "status",      "in": "query"    },    {      "$ref": "#/components/parameters/PaginationCursor"    },    {      "schema": {        "type": "integer",        "minimum": 1,        "maximum": 100,        "default": 20,        "description": "Maximum number of records in a page, from 1 to 100. Defaults to 20.",        "format": "int32"      },      "required": false,      "description": "Maximum number of records in a page, from 1 to 100. Defaults to 20.",      "name": "limit",      "in": "query"    }  ],  "responses": {    "200": {      "description": "Input request page",      "content": {        "application/json": {          "schema": {            "$ref": "#/components/schemas/ListInputRequestsResponse"          }        }      }    },    "400": {      "description": "Bad request",      "content": {        "application/problem+json": {          "schema": {            "allOf": [              {                "$ref": "#/components/schemas/TargetRunProblem"              },              {                "properties": {                  "status": {                    "const": 400                  }                }              }            ]          }        }      }    },    "401": {      "description": "Unauthorized",      "content": {        "application/problem+json": {          "schema": {            "allOf": [              {                "$ref": "#/components/schemas/TargetRunProblem"              },              {                "properties": {                  "status": {                    "const": 401                  }                }              }            ]          }        }      }    },    "403": {      "description": "Forbidden",      "content": {        "application/problem+json": {          "schema": {            "allOf": [              {                "$ref": "#/components/schemas/TargetRunProblem"              },              {                "properties": {                  "status": {                    "const": 403                  }                }              }            ]          }        }      }    },    "404": {      "description": "Not found",      "content": {        "application/problem+json": {          "schema": {            "allOf": [              {                "$ref": "#/components/schemas/TargetRunProblem"              },              {                "properties": {                  "status": {                    "const": 404                  }                }              }            ]          }        }      }    },    "429": {      "description": "Rate limit exceeded",      "headers": {        "Retry-After": {          "schema": {            "type": "integer",            "format": "int32",            "minimum": 1          }        }      },      "content": {        "application/problem+json": {          "schema": {            "allOf": [              {                "$ref": "#/components/schemas/TargetRunProblem"              },              {                "properties": {                  "status": {                    "const": 429                  }                }              }            ]          }        }      }    }  },  "x-documentation-source-tag": "Project runs",  "x-canonical-documentation": {    "domain": "execution",    "resource": "Runs",    "subgroup": "Run Input Requests",    "name": "List project input requests",    "description": "List the input requests in a project that the caller can see.",    "operationId": "listProjectInputRequests"  },  "x-mint": {    "href": "/cloud/rest/api-reference/execution-runs-run-input-requests/list-project-input-requests"  }}