For the complete documentation index, see llms.txt. This page is also available as Markdown.

Refresh an Analysis

Rerun the Beam correlation and analysis process.

Refresh an Analysis

post

Rerun the Beam correlation and analysis process for an existing Analysis. The readiness_status will be set to pending until processing completes. Returns 400 if the Analysis is already being processed.

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
202

Successful Response

No content

post/v1/beam/analyses/{analysis_id}/refresh
POST /v1/beam/analyses/{analysis_id}/refresh HTTP/1.1
Host: api.predicthq.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

Examples

curl -X POST "https://api.predicthq.com/v1/beam/analyses/$ANALYSIS_ID/refresh" \
     -H "Accept: application/json" \
     -H "Authorization: Bearer $API_TOKEN"
import requests

response = requests.post(
    url="https://api.predicthq.com/v1/beam/analyses/$ANALYSIS_ID/refresh",
    headers={
        "Authorization": "Bearer $API_TOKEN",
        "Accept": "application/json"
    }
)

print(response.status_code)

OpenAPI Spec

The OpenAPI spec for Beam API can be found here.

Guides

Below are some guides relevant to this API:

Last updated

Was this helpful?