Ingestion failures
The events EventWolf rejected, with why, so a producer’s bug shows up before anyone misses its events.
Events explains why an event is rejected and how to publish it again.
Paths are relative to https://api.agentpost.tools/v1/events, and every request follows the API basics. Who may call explains each kind of caller.
List ingestion failures
GET /ingest-failures
Rejected events, newest first.
- Who may call: Your server, with your project’s secret key.
- Credential: the examples send your project’s
devsecret key,sk_test_…, asAuthorization: Bearer <token>. - Pages:
limit, 1 to 200, default 50, withnextandafter. Lists has the rule.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
type |
string |
No | |
source |
string |
No | |
code |
string |
No | One of "invalid_envelope", "unknown_type", "invalid_data", or "data_too_large". |
from |
string |
No | An ISO 8601 date and time. |
after |
string |
No | |
limit |
integer |
No | 1–200; default 50. |
Response
200 OK, with:
| Name | Type | Present | Description |
|---|---|---|---|
failures |
IngestFailureRecord array |
Always | |
next |
string |
When set |
Errors
query_timeout(408)invalid_request(400)
Any operation can also answer with the codes Conventions lists.
The IngestFailureRecord object
| Name | Type | Present | Description |
|---|---|---|---|
id |
string |
Always | An ingestion failure ID, ifl_…. |
receivedAt |
string |
Always | |
publishedBy |
object |
Always | How a publisher is recorded beside the source it claimed. |
publishedBy. |
object |
Always | The principal that made the request with its own credential. Your project’s secret key is key: and the key’s name, with no kind. |
publishedBy. |
string |
Always | The principal’s ID. |
publishedBy. |
string |
When set | The kind a principal may declare. A principal that declared none has no kind. One of "human", "agent", or "service". |
publishedBy. |
object |
When set | The delegator, when the actor acted under a delegation. |
publishedBy. |
string |
Always | The principal’s ID. |
publishedBy. |
string |
When set | The kind a principal may declare. A principal that declared none has no kind. One of "human", "agent", or "service". |
publishedBy. |
string |
Always | One of "host", "in_process", or "import". |
claimed |
object |
Always | |
claimed. |
string |
When set | |
claimed. |
string |
When set | |
claimed. |
string |
When set | |
code |
string |
Always | One of "invalid_envelope", "unknown_type", "invalid_data", or "data_too_large". |
issues |
string[] |
Always | |
bodyExcerpt |
string |
When set |