List readiness reports
Changed onReturns the readiness reports of the authenticated organization that the caller can read, newest first. A caller can read a report they uploaded, a report shared with the organization, a report for a repository they can access through source control, and a report whose source session they created; in an organization whose Prem is not hosted by Factory, the creator's access does not apply, and a report that only the creator of its source session could read is not listed. Deleted reports are not listed, but pagination.nextCursor is a position in the stored reports of the organization and can name a report the caller cannot read, a deleted one included. Access is checked after each page of stored reports is read, so a page can hold fewer than limit reports, or none, while pagination.hasMore is true; pass pagination.nextCursor as cursor until hasMore is false. The server looks up who created a report's source session only for a report that is not deleted, that the caller did not upload, cannot access through source control and that is not shared with the organization, and whose source session ID is a UUID. While the lookup is unavailable, a request that needs it answers 503, a page that also holds reports the caller can read included.
Request
- Base URLhttps://api.factory.ai
- AuthHTTP bearer
Query parameters
Maximum number of items to return (1-100)
The previous page's pagination.nextCursor: a position in the organization's stored reports, which can name a report the caller cannot read. A cursor that names no stored report answers the first page.
Only list reports for this repository URL, such as https://github.com/owner/repo
Only list reports created at or after this time, in Unix epoch milliseconds, from 1 through 253402300799999
Headers
Organization a JWT request acts in; required to act in a sub-organization. Without it, the request acts in the user's root organization, or is rejected with 403 when the user cannot access the root organization. API keys always act in their own organization and ignore this header.
Response
Response for status 200
Newest first. Access is checked after each page of stored reports is read, so a page can hold fewer than limit reports, or none, while pagination.hasMore is true.
Changes
- info
endpoint added
- info