marketix
LoginSign Up
  • Welcome!
  • Getting Started
  • Best Practices
  • Pricing
  • FAQ
  • Documents API
    • Documents: List
    • Documents: Show
    • Document: Store
    • Document: Update
Powered by GitBook
On this page
  1. Documents API

Document: Store

API endpoint:

POST

https://app.marketix.io/api/v1/documents

Request example:

curl --location --request POST 'https://app.marketix.io/api/v1/documents' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer {api_key}' \
--data-urlencode 'name={name}' \
--data-urlencode 'prompt={prompt}'

Parameter List

Parameter
Type
Description

name

required | string

The document name.

prompt

required | string

The instructions for the AI.

creativity

required | float

The creative level of the result. Possible values are: 0 for Repetitive, 0.25 for Deterministic, 0.5 for Original, 0.75 for Creative, 1 for Imaginative. Defaults to: 0.5.

PreviousDocuments: ShowNextDocument: Update

Last updated 2 years ago