star-stories

AI-draft a STAR Story

Draft a full STAR+Reflection story from the interview question + the user's resume / proof-points / persona. The composer pre-fills these fields for the user to edit; the user never publishes them blind.

post/star-stories/draft

Request

  • Base URL: https://api.aiapplyd.com/api/v1
  • URL: https://api.aiapplyd.com/api/v1/star-stories/draft
  • Auth: HTTP bearer

Request body

persistboolean

Also persist the drafted story to the bank and return the saved row

questionstring required

The interview question the drafted story should answer

Example request

{
  "question": "Tell me about a time you led a team through a hard technical decision."
}

Response

STAR story drafted

successtrue required

Example response

{
  "data": {
    "savedStory": {
      "bestForQuestions": [
        "Tell me about a time you led a team",
        "How do you handle conflict?"
      ],
      "createdAt": "2026-01-15T12:00:00Z",
      "derivedFromResume": true,
      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "reflection": "I learned to invest in observability before scaling, not after.",
      "theme": "leadership",
      "title": "Cutting CI from 22 to 6 minutes",
      "updatedAt": "2026-03-10T08:30:00Z",
      "usageCount": 3,
      "userId": "user_123"
    },
    "theme": "leadership"
  },
  "meta": {
    "duration": 150,
    "requestId": "req_abc123",
    "timestamp": "2026-10-13T10:27:20.268Z",
    "version": "v1"
  }
}

Changes

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