Skip to content
Go to Boltz API

List ADME predictions

client.Predictions.Adme.List(ctx, query) (*CursorPage[PredictionAdmeListResponse], error)
GET/compute/v1/predictions/adme

List ADME predictions, optionally filtered by workspace

ParametersExpand Collapse
query PredictionAdmeListParams
AfterID param.Field[string]Optional

Return results after this ID

BeforeID param.Field[string]Optional

Return results before this ID

Limit param.Field[int64]Optional

Max items to return. Defaults to 100.

minimum1
maximum100
WorkspaceID param.Field[string]Optional

Filter by workspace ID. Only used with admin API keys. If not provided, defaults to the workspace associated with the API key, or the default workspace for admin keys.

ReturnsExpand Collapse
type PredictionAdmeListResponse struct{…}
ID string

Unique prediction identifier

CompletedAt Time
formatdate-time
CreatedAt Time
formatdate-time
DataDeletedAt Time

When the input/output data was deleted, or null if still available

formatdate-time
Error PredictionAdmeListResponseError

Error details when failed

Code string

Machine-readable error code

Message string

Human-readable error message

Details anyOptional

Additional field-level error details keyed by input path, when available.

ExpiresAt Time

When this resource and its associated data will be permanently deleted. Null while still in progress.

formatdate-time
Livemode bool

Whether this resource was created with a live API key.

Model AdmeV1

Model used for prediction

StartedAt Time
formatdate-time
Status PredictionAdmeListResponseStatus
One of the following:
const PredictionAdmeListResponseStatusPending PredictionAdmeListResponseStatus = "pending"
const PredictionAdmeListResponseStatusRunning PredictionAdmeListResponseStatus = "running"
const PredictionAdmeListResponseStatusSucceeded PredictionAdmeListResponseStatus = "succeeded"
const PredictionAdmeListResponseStatusFailed PredictionAdmeListResponseStatus = "failed"
Version string

Model version used for prediction

WorkspaceID string

Workspace ID

IdempotencyKey stringOptional

Client-provided idempotency key

List ADME predictions

package main

import (
  "context"
  "fmt"

  "github.com/boltz-bio/boltz-api-go"
  "github.com/boltz-bio/boltz-api-go/option"
)

func main() {
  client := boltzapi.NewClient(
    option.WithAPIKey("My API Key"),
  )
  page, err := client.Predictions.Adme.List(context.TODO(), boltzapi.PredictionAdmeListParams{

  })
  if err != nil {
    panic(err.Error())
  }
  fmt.Printf("%+v\n", page)
}
{
  "data": [
    {
      "id": "id",
      "completed_at": "2019-12-27T18:11:19.117Z",
      "created_at": "2019-12-27T18:11:19.117Z",
      "data_deleted_at": "2019-12-27T18:11:19.117Z",
      "error": {
        "code": "code",
        "message": "message",
        "details": {}
      },
      "expires_at": "2019-12-27T18:11:19.117Z",
      "livemode": true,
      "model": "adme-v1",
      "started_at": "2019-12-27T18:11:19.117Z",
      "status": "pending",
      "version": "version",
      "workspace_id": "workspace_id",
      "idempotency_key": "idempotency_key"
    }
  ],
  "first_id": "first_id",
  "has_more": true,
  "last_id": "last_id"
}
Returns Examples
{
  "data": [
    {
      "id": "id",
      "completed_at": "2019-12-27T18:11:19.117Z",
      "created_at": "2019-12-27T18:11:19.117Z",
      "data_deleted_at": "2019-12-27T18:11:19.117Z",
      "error": {
        "code": "code",
        "message": "message",
        "details": {}
      },
      "expires_at": "2019-12-27T18:11:19.117Z",
      "livemode": true,
      "model": "adme-v1",
      "started_at": "2019-12-27T18:11:19.117Z",
      "status": "pending",
      "version": "version",
      "workspace_id": "workspace_id",
      "idempotency_key": "idempotency_key"
    }
  ],
  "first_id": "first_id",
  "has_more": true,
  "last_id": "last_id"
}