Goals GPT

Goals GPT · GPT 작업

Success.as API

  • GET /goalsGet the users goals
  • PATCH /goalsCreate or update the users goals
원본 API 스키마
{
  "openapi": "3.1.0",
  "info": {
    "version": "1.0.0",
    "title": "Success.as API"
  },
  "servers": [
    {
      "url": "https://success.as/ai"
    }
  ],
  "paths": {
    "/goals": {
      "get": {
        "summary": "Get the users goals",
        "operationId": "getGoals"
      },
      "patch": {
        "summary": "Create or update the users goals",
        "operationId": "setGoals",
        "x-openai-isConsequential": false,
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Goals"
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Goals": {
        "type": "object",
        "properties": {
          "markdown": {
            "type": "string",
            "description": "The user's goals in markdown format"
          }
        },
        "required": [
          "markdown"
        ]
      }
    }
  }
}