Skip to main content
GET
/
space
/
{space_id}
/
experience_confirmations
Python
from acontext import AcontextClient

client = AcontextClient(api_key='sk_project_token')

# Get unconfirmed experiences
experiences = client.spaces.get_unconfirmed_experiences(
    space_id='space-uuid',
    limit=20,
    time_desc=True
)
for experience in experiences.items:
    print(f"{experience.id}: {experience.experience_data}")

# If there are more, use the cursor for pagination
if experiences.has_more:
    next_experiences = client.spaces.get_unconfirmed_experiences(
        space_id='space-uuid',
        limit=20,
        cursor=experiences.next_cursor
    )
{
  "code": 123,
  "error": "<string>",
  "msg": "<string>",
  "data": {
    "has_more": true,
    "items": [
      {
        "created_at": "<string>",
        "experience_data": {},
        "id": "<string>",
        "space_id": "<string>",
        "task_id": "<string>",
        "updated_at": "<string>"
      }
    ],
    "next_cursor": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Project Bearer token (e.g., "Bearer sk-ac-xxxx")

Path Parameters

space_id
string<uuid>
required

Space ID

Query Parameters

limit
integer

Limit of confirmations to return, default 20. Max 200.

cursor
string

Cursor for pagination. Use the cursor from the previous response to get the next page.

time_desc
boolean

Order by created_at descending if true, ascending if false (default false)

Response

200 - application/json

OK

code
integer
error
string
msg
string
data
object