---
title: "List learned failure patterns"
method: GET
path: "/api/memories/failures"
tags: ["Memories"]
---

# List learned failure patterns

`GET /api/memories/failures`

## Request

- Base URL: `https://aximo.autify.com`
- URL: `https://aximo.autify.com/api/memories/failures`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/autify/apis/aximo-api/docs/api/memories/failures/get.ts> (a function with typed inputs; its response is checked against the schema)

Mistakes the agent has made in this workspace and the corrections that
resolved them, most-frequent first. Cursored the same way as
`GET /api/memories/workflows`, keyed on `nOccurrences`.

## Query parameters

- `projectId` string, uuid, required
- `platform` 'desktop' | 'android' | 'ios'
- `appIdentifier` string
- `limit` integer
- `cursor` string

## Response `200`

A page of failure patterns.

- object
  - `items` MemoryFailure[], required
    - `id` string, uuid, required
    - `description` string, required: What went wrong.
    - `correction` string, required: What to do instead.
    - `platform` 'desktop' | 'android' | 'ios', required
    - `appIdentifier` string, nullable
    - `caseId` string, uuid, nullable: The test case whose session this pattern was learned from, if any.
    - `nOccurrences` integer, required: How many times this pattern has been seen.
    - `lastSeenAt` string, date-time, required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
  - `nextCursor` string

## Other responses

- `400`: Invalid query parameters or an undecodable cursor.
- `401`: Missing or invalid API key.
- `403`: API key is not scoped to an organization, the user is banned, or the user is no longer a member of the organization.
- `404`: The workspace does not exist in your organization.
- `429`: Rate limit exceeded — e.g. the daily session limit was reached for the organization, or too many API requests were sent in a short window (retry after the number of seconds in the `Retry-After` header).
- `500`: Unexpected server error.

---

[API](https://skmtc.dev/autify/apis/aximo-api.md) - [All operations](https://skmtc.dev/autify/apis/aximo-api/llms.txt) - [OpenAPI document](https://skmtc.dev/autify/apis/aximo-api/revisions/590722011284?raw)
