Get an API key
Agent sessions

GET /api/ai/agents/sessions/search

GET https://api.iagenify.com/api/ai/agents/sessions/search

Reference for GET /api/ai/agents/sessions/search.

authenticatedno JSON body

HTTP request

curl https://api.iagenify.com/api/ai/agents/sessions/search -X GET -H "Authorization: Bearer $IAGENIFY_TOKEN"

JavaScript

const response = await fetch("https://api.iagenify.com/api/ai/agents/sessions/search", {
  method: "GET",
  headers: { Authorization: `Bearer ${process.env.IAGENIFY_TOKEN}` }
});
const result = await response.json();
if (!response.ok) throw new Error(result.error);

Python

import os
import requests

response = requests.request("GET", "https://api.iagenify.com/api/ai/agents/sessions/search", headers={"Authorization": "Bearer " + os.environ["IAGENIFY_TOKEN"]}, timeout=30)
response.raise_for_status()
result = response.json()

Query parameters

qstring

Optional q query value.

limitstring

Optional limit query value.

Response and errors

Success returns JSON from the endpoint.