Drafts

List the caller's market drafts

Changed on

Every live (non-deleted) draft owned by the authenticated user, most recently touched first, each with its latest review.

get/drafts

Request

  • The document declares no server URL.
  • Auth: none declared

Response

Response for status 200

categorystring required
createdAtstring required
descriptionstring required
graduationWindowSecondsnumber required
idstring required
intendedCreatorAddressstring nullable required
isTemplateboolean required
liquidityParameternumber required
openingProbabilitynumber required
outcomeNostring required
outcomeYesstring required
publishedAtstring nullable required
publishedChainIdnumber nullable required
publishedMarketIdstring nullable required
publishedTransactionHashstring nullable required
questionstring required
resolutionCriteriastring required
resolutionSourcesstring required
resolutionUrlstring required
resolutionWindowSecondsnumber required
reviewedAtstring nullable required
status'editing' | 'in_review' | 'changes_requested' | 'rejected' | 'approved' | 'published' required
submittedAtstring nullable required
updatedAtstring required

Changes

    • warning

      added the new openai enum value to the // response property for the response status

    • breaking

      the / response's property type changed from number to string for status