Skip to main content
GET
Get logs for a source agent

Authorizations

Authorization
string
header
required

API key from Settings → API. Send it as Authorization: Bearer .

Headers

x-impersonate-user-id
string

ID of an organization member to act on behalf of. The API key user must be the owner of the organization and the target user must belong to the same organization.

Path Parameters

id
number
required

Query Parameters

dateFrom
string

Start of the time window (ISO 8601, e.g. 2025-04-01T00:00:00Z). Used together with dateTo.

dateTo
string

End of the time window (ISO 8601). Used together with dateFrom.

Response

Up to 100 most recent log entries for the agent (newest first).

id
number
required

Unique identifier of the agent log entry.

leadsCreated
number
required

Number of leads imported into the user platform after the AI scoring & filtering pipeline. These are the qualified leads that ended up on the agent's list and become contacts of the linked outreach campaign.

totalLeads
number
required

Total number of raw leads the agent found from this signal in this run, BEFORE any AI scoring or filtering. Always greater than or equal to leadsCreated.

userId
number
required

Owner user ID.

createdAt
string<date-time>
required

When this log entry was recorded (ISO 8601).

errorMessage
string | null

Error message if the run failed for this signal. Null when the run succeeded.

agentType
object | null

Type of signal the agent ran (e.g. SEARCH_KEYWORD, COMPETITOR_PAGE_URL, RECENT_FUNDING_EVENT). Matches the agent's configured signal types.

agentKeyword
string | null

The specific signal value used in this run — e.g. the keyword searched, the competitor page URL watched, or the lookalike seed. Lets you see which signal produced which leads.

agentId
number | null

ID of the agent this log entry belongs to.