> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.fullstackplus.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.fullstackplus.ai/_mcp/server.

# Prompts this key has sent (newest first, 50)

GET https://api.fullstackplus.ai/api/v1/projects/{projectId}/prompts

Reference: https://docs.fullstackplus.ai/api-reference/prompts-this-key-has-sent-newest-first-50

## Authentication

- `X-API-Key` header (required) — Create one in the app under **Settings → API keys**. It is shown once and stored only as a hash, so it cannot be recovered — losing it means issuing a new one. A key reads the endpoints below and nothing else. It is not a session: it cannot create or delete projects, change settings, or issue another API key. It sees exactly what its owner sees, re-checked on every request, so removing someone's access to a project removes it from their key on the very next call.
- `Authorization` header (bearer token, required) — The same key, sent as `Authorization: Bearer <key>`.

## Request

### Path parameters

- `projectId` (integer, required)

## Response

### 200

OK

- `prompts` (list of ApiV1ProjectsProjectIdPromptsGetResponsesContentApplicationJsonSchemaPromptsItems, optional)

## Types

### ApiV1ProjectsProjectIdPromptsGetResponsesContentApplicationJsonSchemaPromptsItems

- `createdAt` (string, optional)
- `error` (string, optional, nullable)
- `finishedAt` (string, optional, nullable)
- `id` (integer, optional)
- `position` (integer, optional) — Prompts ahead of this one, while queued.
- `prompt` (string, optional)
- `question` (Question, optional, nullable) — Present while status is paused_for_question.
- `response` (string, optional) — The reply, once it has started.
- `startedAt` (string, optional, nullable)
- `status` (enum, optional)
  - Allowed values: `queued`, `running`, `completed`, `error`, `cancelled`, `paused_for_question`
- `summary` (string, optional)
- `url` (string, optional) — Returned on POST: where to poll.

### Question

What a paused prompt is waiting to be told. Answer it with the prompt's `/answer` call.

- `id` (string, optional) — Quote this as `questionId` when answering.
- `questions` (list of QuestionQuestionsItems, optional)

### QuestionQuestionsItems

- `header` (string, optional) — A short label, e.g. "Hosting".
- `multiSelect` (boolean, optional) — More than one option may be chosen.
- `options` (list of QuestionQuestionsItemsOptionsItems, optional) — Suggested answers; free text is also accepted.
- `question` (string, optional)

### QuestionQuestionsItemsOptionsItems

- `description` (string, optional)
- `label` (string, optional)

## Examples

**Response**

```json
{
  "prompts": [
    {
      "createdAt": "string",
      "error": "string",
      "finishedAt": "string",
      "id": 1,
      "position": 1,
      "prompt": "string",
      "question": {
        "id": "string",
        "questions": [
          {
            "header": "string",
            "multiSelect": true,
            "options": [
              {
                "description": "string",
                "label": "string"
              }
            ],
            "question": "string"
          }
        ]
      },
      "response": "string",
      "startedAt": "string",
      "status": "queued",
      "summary": "string",
      "url": "string"
    }
  ]
}
```

**SDK Code**

```python
import requests

url = "https://api.fullstackplus.ai/api/v1/projects/1/prompts"

headers = {"X-API-Key": "<apiKey>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.fullstackplus.ai/api/v1/projects/1/prompts';
const options = {method: 'GET', headers: {'X-API-Key': '<apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.fullstackplus.ai/api/v1/projects/1/prompts"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("X-API-Key", "<apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.fullstackplus.ai/api/v1/projects/1/prompts")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<apiKey>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.fullstackplus.ai/api/v1/projects/1/prompts")
  .header("X-API-Key", "<apiKey>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.fullstackplus.ai/api/v1/projects/1/prompts', [
  'headers' => [
    'X-API-Key' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.fullstackplus.ai/api/v1/projects/1/prompts");
var request = new RestRequest(Method.GET);
request.AddHeader("X-API-Key", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["X-API-Key": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.fullstackplus.ai/api/v1/projects/1/prompts")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```