---
title: "Search & list Evidences"
method: GET
path: "/dispute/disputes/{disputeId}/evidences"
tags: ["Disputes"]
---

# Search & list Evidences

`GET /dispute/disputes/{disputeId}/evidences`

## Request

- Base URL: `https://api.staging.payrails.io`
- URL: `https://api.staging.payrails.io/dispute/disputes/{disputeId}/evidences`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/payrails/apis/payrails-api-reference/docs/dispute/disputes/:disputeId/evidences/get.ts> (a function with typed inputs; its response is checked against the schema)

Fetch a list of Evidences.

## Path parameters

- `disputeId` string, uuid, required

## Query parameters

- `filter[id]` string
- `filter[disputeId]` string
- `filter[status]` string
- `filter[provenance]` string
- `filter[displayTitle]` string

## Response `200`

Success.

- object
  - `links` object
    - `self` string, required
    - `prev` string
    - `next` string
    - `first` string
    - `last` string
  - `results` object[]
    - `id` string, uuid, required: Unique identifier of the Dispute in Payrails.
    - `createdAt` string, date-time, required: Date and time when the Dispute was created in Payrails.
    - `updatedAt` string, date-time, required: Date and time when the Dispute was last updated in Payrails.
    - `displayTitle` string: Display title of the evidence, usually the file name.
    - `status` 'Active' | 'Inactive' | 'Unknown': Status of the dispute evidence.
    - `provenance` 'Merchant' | 'Payrails' | 'Unknown': Provenance of the dispute evidence.
    - `contentType` string: MIME type of the evidence content.
    - `contentLength` integer: Size of the evidence content in bytes.
    - `payload` object: Inline JSON payload for inline-context evidences. Present only for evidences created from `inlineContexts`; omitted for file-backed evidence.
    - `workspaceId` string, uuid: Workspace ID that the Dispute belongs to.
    - `labels` string[]: Labels assigned to this evidence for the dispute, used to categorise the document during representment.

## Other responses

- `400`: Bad Request.
- `401`: Unauthorized.
- `403`: Insufficient Scope.
- `404`: Not Found.
- `429`: Too Many Requests.

---

[API](https://skmtc.dev/payrails/apis/payrails-api-reference.md) - [All operations](https://skmtc.dev/payrails/apis/payrails-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/payrails/apis/payrails-api-reference/revisions/9dd2f0158582?raw)
