strategy

Get Strategy

Gets a strategy for a given goal.

post/api/v1/strategy/

Request

  • Base URL: http://localhost:8080
  • URL: http://localhost:8080/api/v1/strategy/
  • Auth: API key in header X-ONEGREP-API-KEY

Request body

kinteger

The number of results to return from index.

min_scorenumber

The minimum score to return from index.

pageinteger

The page number to return.

page_sizeinteger

The number of results per page.

querystring required

The query used against the search index.

Response

Successful Response

instructionsstring required

Instructions to follow the strategy.

recipe_idstring uuid required

The ID of the recipe that was used to generate the strategy.

Changes

No recorded changes to this operation across all 1 revision of this API.