List service objects
GEThttps://api.instacloud.com/projects/{projectId}/services/{serviceId}/objects
Token scope: account · org · project — read-only tokens allowed.
List a storage service's bucket objects (prefix-filtered, cursor-paged). Gated — storage.read.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
branch | query | string | no | Branch name (defaults to the project's default branch) |
prefix | query | string | no | Key prefix filter (S3 has no substring search) |
cursor | query | string | no | Opaque continuation token from a previous page |
limit | query | integer | no | max objects per page |
projectId | path | string | yes | |
serviceId | path | string | yes |
Responses
200
Default Response
| Field | Type | Required | Description |
|---|---|---|---|
objects | object[] | yes | |
objects.key | string | yes | |
objects.size | integer | yes | object size in bytes |
objects.lastModified | string | yes | |
objects.etag | string | yes | |
nextCursor | string | no | absent on the last page |
202
Default Response
| Field | Type | Required | Description |
|---|---|---|---|
status | "approval_required" | no | |
approvalId | string | no | |
action | string | no | the gated action, or a comma-joined compound set — prefer `actions` |
actions | string[] | no | every capability this approval covers |
message | string | no | |
url | string | no | the console page where a project admin reviews this request |
nextActions | object[] | no | |
nextActions.op | string | yes | Neutral logical action id, e.g. "service.add" — NOT an operationId or a CLI/MCP tool name; each client maps it to its own surface. |
nextActions.reason | string | yes | Natural-language, human/LLM-facing "why do this now". |
nextActions.args | object | no | Suggested, flat named arguments; "<placeholder>"s where a value is unknown. |
nextActions.gated | boolean | no | True if the action passes a governance gate. |
400
Default Response
| Field | Type | Required | Description |
|---|---|---|---|
error | string | yes |
404
Default Response
| Field | Type | Required | Description |
|---|---|---|---|
error | string | yes |