# List documents

> Returns all documents the caller has access to. If projectId is provided, returns only documents in that project. project keys are scoped to a single project automatically. JWT users without projectId receive documents across all their accessible projects.

<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"List documents"}
>
</Heading>

<MethodEndpoint
  method={"get"}
  path={"/api/v1/documents"}
  context={"endpoint"}
>
  
</MethodEndpoint>

Returns all documents the caller has access to. If projectId is provided, returns only documents in that project. project keys are scoped to a single project automatically. JWT users without projectId receive documents across all their accessible projects.

<Heading
  id={"request"}
  as={"h2"}
  className={"openapi-tabs__heading"}
>
  <Translate id="theme.openapi.request.title">Request</Translate>
</Heading>

<ParamsDetails
  {...require("./list-documents.ParamsDetails.json")}
>
  
</ParamsDetails>

<RequestSchema
  {...require("./list-documents.RequestSchema.json")}
>
  
</RequestSchema>

<StatusCodes
  {...require("./list-documents.StatusCodes.json")}
>
  
</StatusCodes>
