---
updatedAt: 2026-09-10T06:16:17.000Z
agentTools:
  projectIndex: https://developer.vouchfor.com/llms.txt
---

# List Chats

List Chats

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Vouch",
    "description": "test",
    "termsOfService": "https://vouchfor.com/terms",
    "contact": {
      "name": "Vouch API Support",
      "email": "support@vouchfor.com"
    },
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://{environment}.vouchfor.com/v1",
      "variables": {
        "environment": {
          "default": "api",
          "enum": [
            "api",
            "api-staging"
          ]
        }
      }
    },
    {
      "url": "https://{environment}.vouchfor.com/v1/entities/{entityId}",
      "variables": {
        "environment": {
          "default": "api",
          "enum": [
            "api",
            "api-staging"
          ]
        },
        "entityId": {
          "default": "demo",
          "description": "Entity ID"
        }
      }
    }
  ],
  "components": {
    "parameters": {
      "Limit": {
        "name": "limit",
        "in": "query",
        "description": "Maximum number of items to return",
        "schema": {
          "type": "integer"
        }
      },
      "NextToken": {
        "name": "nextToken",
        "in": "query",
        "description": "Pagination token returned by a previous request",
        "schema": {
          "type": "string"
        }
      }
    },
    "responses": {
      "Chats": {
        "description": "List of Chats",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "chats": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Chat"
                  }
                },
                "nextToken": {
                  "type": "string"
                },
                "total": {
                  "type": "integer"
                }
              }
            }
          }
        }
      },
      "UnauthorizedError": {
        "description": "Invalid API key",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "error": "Unauthorized."
            }
          }
        }
      },
      "InternalServerError": {
        "description": "Internal server error",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "error": "Internal Server Error."
            }
          }
        }
      }
    },
    "schemas": {
      "Chat": {
        "type": "object",
        "properties": {
          "createddate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "updateddate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "id": {
            "type": "string",
            "readOnly": true,
            "example": "hhhhhhhhhh"
          },
          "name": {
            "type": "string",
            "example": "New chat"
          },
          "status": {
            "type": "string",
            "readOnly": true,
            "enum": [
              "processing",
              "complete",
              "failed"
            ],
            "example": "complete"
          },
          "response": {
            "type": "string",
            "readOnly": true,
            "description": "The last assistant response, present when status is complete"
          },
          "progress": {
            "type": "string",
            "readOnly": true,
            "description": "A summary of the current step, present when status is processing"
          },
          "error": {
            "type": "string",
            "readOnly": true,
            "description": "Present when status is failed"
          }
        }
      },
      "Error": {
        "type": "object",
        "properties": {
          "error": {
            "type": "string"
          }
        }
      }
    },
    "securitySchemes": {
      "ApiKey": {
        "type": "apiKey",
        "name": "x-api-key",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "ApiKey": []
    }
  ],
  "tags": [
    {
      "name": "Chat"
    }
  ],
  "paths": {
    "/chats": {
      "get": {
        "summary": "List Chats",
        "description": "List Chats",
        "tags": [
          "Chat"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/Limit"
          },
          {
            "$ref": "#/components/parameters/NextToken"
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/Chats"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "500": {
            "$ref": "#/components/responses/InternalServerError"
          }
        }
      }
    }
  }
}
```