Skip to documentation
Weavers Docs

Pages and endpoints

Tab to navigate · Enter to openEsc to close

GET /api/strategies

Public access · HTTP API reference

All endpoints · Authentication and retries · Download OpenAPI

Request

ParameterLocationType and requirement
limitquerystring · optional

No request body.

Example

Examples use fictional data. Replace identifiers with resources you can access. For account requests, cookies.txt must contain your own session; set CSRF_TOKEN to the matching CSRF cookie value where required.

cURL (POSIX shell)
curl --include \
  --request GET \
  'https://api.weavers.app/api/strategies'

Responses

200 · Successful response.

application/json

200 example · synthetic data
{
  "strategies": []
}
View response model
strategies required · array of object
View strategies model

Array items:

strategyKey required · string
strategyVariant required · string
strategyName required · string
latestCreatedAt required · string
strategyStartDate required · null | string
View strategyStartDate model
Variant 1: null

null

Variant 2: string

string

isLive required · boolean
tradingStatus required · null | "paper" | "certified"
View tradingStatus model
Variant 1: null

null

Variant 2: "paper"

"paper"

Variant 3: "certified"

"certified"

liveScopeCount required · number
latestActiveArtifactId required · null | number
View latestActiveArtifactId model
Variant 1: null

null

Variant 2: number

number

strategyRegistryId required · null | number
View strategyRegistryId model
Variant 1: null

null

Variant 2: number

number

strategyId required · null | string
View strategyId model
Variant 1: null

null

Variant 2: string

string

alias required · null | string
View alias model
Variant 1: null

null

Variant 2: string

string

pnl required · null | number
View pnl model
Variant 1: null

null

Variant 2: number

number

pnlPercent required · null | number
View pnlPercent model
Variant 1: null

null

Variant 2: number

number

sharpe required · null | number
View sharpe model
Variant 1: null

null

Variant 2: number

number

winRate required · null | number
View winRate model
Variant 1: null

null

Variant 2: number

number

drawdown required · null | number
View drawdown model
Variant 1: null

null

Variant 2: number

number

closedTrades required · null | number
View closedTrades model
Variant 1: null

null

Variant 2: number

number

runDurationMs required · null | number
View runDurationMs model
Variant 1: null

null

Variant 2: number

number

lastExecutionResult required · null | string
View lastExecutionResult model
Variant 1: null

null

Variant 2: string

string

Additional fields: JSON values.

Additional fields: JSON values.

400 · Invalid request.

application/json

400 example · synthetic data
{}
View response model

Error envelopes can include resource-specific details. Check the status before reading these fields.

error optional · string
code optional · string
message optional · string

Additional fields: JSON values.

429 · Rate limit reached; honor Retry-After when supplied.

application/json

429 example · synthetic data
{}
View response model

Error envelopes can include resource-specific details. Check the status before reading these fields.

error optional · string
code optional · string
message optional · string

Additional fields: JSON values.

500 · Server failure.

application/json

500 example · synthetic data
{
  "error": "example"
}
View response model
error required · string

Additional fields: JSON values.