cURL
curl "https://api.superskope.com/api/v1/agents/api-example-agent-id/events/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" \
-H "Authorization: Bearer $SUPERSKOPE_API_KEY"import { SuperSkope } from '@superskope/sdk';
const client = new SuperSkope({
origin: 'https://api.superskope.com',
apiKey: process.env.SUPERSKOPE_API_KEY,
});
const result = await client.agentEvent('api-example-agent-id', 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa');
console.log(result);
import os
import requests
response = requests.get(
"https://api.superskope.com/api/v1/agents/api-example-agent-id/events/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
headers={"Authorization": f"Bearer {os.environ['SUPERSKOPE_API_KEY']}"},
timeout=40,
)
print(response.status_code, response.json())
{
"schemaVersion": "agent.v1",
"event": {
"id": "<string>",
"accountId": "<string>",
"chatId": "<string>",
"actor": "<string>",
"text": "<string>",
"messageId": "<string>",
"agentId": "<string>",
"chatName": "<string>",
"actorIds": [
"<string>"
],
"timestamp": 123,
"addressed": "direct",
"quoted": {},
"attachment": {},
"replyTo": "<string>"
}
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Agents
Get agent activation
Read a versioned original activation packet. Requires agents:events:read and messages:read. Explicit owner agentIds delegation and selected-chat authority remain required; management requires API-owned registrations; legacy callback identities are read/use-only when delegated.
cURL
curl "https://api.superskope.com/api/v1/agents/api-example-agent-id/events/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" \
-H "Authorization: Bearer $SUPERSKOPE_API_KEY"import { SuperSkope } from '@superskope/sdk';
const client = new SuperSkope({
origin: 'https://api.superskope.com',
apiKey: process.env.SUPERSKOPE_API_KEY,
});
const result = await client.agentEvent('api-example-agent-id', 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa');
console.log(result);
import os
import requests
response = requests.get(
"https://api.superskope.com/api/v1/agents/api-example-agent-id/events/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
headers={"Authorization": f"Bearer {os.environ['SUPERSKOPE_API_KEY']}"},
timeout=40,
)
print(response.status_code, response.json())
{
"schemaVersion": "agent.v1",
"event": {
"id": "<string>",
"accountId": "<string>",
"chatId": "<string>",
"actor": "<string>",
"text": "<string>",
"messageId": "<string>",
"agentId": "<string>",
"chatName": "<string>",
"actorIds": [
"<string>"
],
"timestamp": 123,
"addressed": "direct",
"quoted": {},
"attachment": {},
"replyTo": "<string>"
}
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}