> ## Documentation Index
> Fetch the complete documentation index at: https://phaseo.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Responses

> Call /responses with the Java SDK.

**Method**: `client.createResponse(...)`

```java theme={null}
import app.phaseo.sdk.Phaseo;

Phaseo client = new Phaseo(System.getenv("PHASEO_API_KEY"));

String body = """
{
  "model": "openai/gpt-5-nano",
  "input": [
    {
      "role": "user",
      "content": [
        { "type": "input_text", "text": "Reply with: java sdk works" }
      ]
    }
  ]
}
""";

Object response = client.createResponse(body);
System.out.println(String.valueOf(response));
```
