Get an Analysis

Get an existing Analysis.

Get an Analysis

get

Get an existing Analysis.

Authorizations
AuthorizationstringRequired

Enter your PredictHQ API key. The Bearer prefix is added automatically.

When calling the API directly, send: Authorization: Bearer <YOUR_API_KEY> as documented at https://docs.predicthq.com/api/overview/authenticating

Path parameters
analysis_idstringRequired

An existing Beam Analysis ID.

Responses
chevron-right
200

Successful Response

application/json
namestring · min: 1Required

Name of the Analysis.

Example: Analysis 1
user_idstringOptional

Identifier of the user who owns the Analysis.

access_typestring · enumOptional

Access level for the Analysis.

Example: fullPossible values:
statusstring · enumOptional

Status of the Analysis.

Example: activePossible values:
readiness_statusstring · enumOptional

The value of this field determines whether or not the Analysis has successfully completed processing.

When you upload data for an Analysis the readiness_status will be set to pending until processing has completed.

Example: readyPossible values:
group_idsstring[]Optional

IDs of the groups this Analysis belongs to.

tzstringOptional

The time zone of the Analysis in TZ Database format.

Note: this field is populated automatically based on the location of the Analysis.

Example: Pacific/Auckland
create_dtstring · date-timeOptional

Date and time when the Analysis was created (ISO 8601).

update_dtstring · date-timeOptional

Date and time when the Analysis was last updated (ISO 8601).

processed_dtstring · date-timeOptional

Date and time when the Analysis processing completed (ISO 8601).

external_idstringOptional

External identifier associated with the Analysis (optional, user-defined).

Example: abc123
labelstring[]Optional

Comma-separated list of labels that can be used to search and filter analyses.

Example: ["label1","label2","label3"]
get
/v1/beam/analyses/{analysis_id}

Examples

curl -X GET "https://api.predicthq.com/v1/beam/analyses/$ANALYSIS_ID" \
     -H "Accept: application/json" \
     -H "Authorization: Bearer $ACCESS_TOKEN"

OpenAPI Spec

The OpenAPI spec for Beam API can be found herearrow-up-right.

Guides

Below are some guides relevant to this API:

Last updated

Was this helpful?