Search activity history via BigQuery
GET
/api/v1/activity/search
const url = 'https://api.ultimateteam.ai/api/v1/activity/search?q=example&page=1&page_size=20';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.ultimateteam.ai/api/v1/activity/search?q=example&page=1&page_size=20' \ --header 'X-API-Key: <X-API-Key>'Queries BigQuery for historical activity entries matching the search term, with optional filters for agent_role, action_type, and date range. Results are paginated.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters”q
required
Q
Search query text
string
Search query text
page
Page
Page number (1-indexed)
integer
Page number (1-indexed)
page_size
Page Size
Results per page (max 100)
integer
Results per page (max 100)
Responses
Section titled “ Responses ”Successful Response
Media typeapplication/json
ActivitySearchResponse
Response envelope for the search endpoint.
Attributes: items: List of matching activity entries from BigQuery. page: Current page number. page_size: Requested page size. query: The original search query string.
object
items
required
Items
Array<object>
object
key
additional properties
any
page
required
Page
integer
page_size
required
Page Size
integer
query
required
Query
string
Examplegenerated
{ "items": [ {} ], "page": 1, "page_size": 1, "query": "example"}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}