Skip to content
Esc
↑↓navigate↵open⌘Jpreview

Find domains in a conversation

Streams new domain suggestions, followed by a completed reply or a typed error. With enrich, a stream that confirms it in X-Spacefast-Domain-Results also sends each suggested name’s availability, and a Jev score for names not registered or known to be unsellable. These lines can follow the reply. Current selections, taste and stable reference numbers remain user-owned.

POST/v1/domains/research/conversation
Authorization

Optional — this operation also accepts unauthenticated requests.

AuthorizationBearer token · header

Better Auth session, OAuth access token, OAuth client-credentials token, or sfm_ Space machine credential.

or
__Host-better-auth.session_tokenAPI key · cookie

Signed-in browser session, set by the dashboard sign-in flow. An operation that declares only this one needs a person behind the request: an API key or machine credential is refused. The same session token is also accepted as Authorization: Bearer.

Request body
requiredapplication/json
teamIdstring
min length 1
phasestringrequired
Allowed:initialenrichmentrefinementreplacementconversation
automaticboolean
poolPolicystring

Request ranked available pools. Omit this field to keep neutral replacement limits.

messagesobject[]required
min items 1 · max items 80
Show properties
Array of object
rolestringrequired
Allowed:userassistant
contentstringrequired
min length 1 · max length 12000
suggestionsobject[]required
max items 200
Show properties
Array of object
domainstringrequired
max length 253
reasonstringrequired
min length 1 · max length 2000
scorenumberrequired
min 0 · max 100
idstringrequired
min length 1 · max length 253
numberintegerrequired
min 1 · max 100000
selectedbooleanrequired
tastestringrequired
Allowed:neutrallikeddisliked
availabilitystringrequired
Allowed:uncheckedcheckingunregisteredregisteredunknown
sellableboolean
jevobject
Show properties
scorenumberrequired
min 0 · max 4
confidencenumberrequired
min 0 · max 1
retiredboolean
sourcestring
hideDescriptionboolean
analyticsobject
Show properties
sessionIdstring<uuid>required
matches ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
traceIdstring<uuid>required
matches ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
anonymousIdstringrequired
min length 1 · max length 128 · matches ^[A-Za-z0-9_-]+$
pathstringrequired
min length 1 · max length 2048 · matches ^\/(?:[^/?#]+\/){0,2}domains(?:\/[^?#]*)?$
enrichobject

Ask this stream to check suggested names and Jev-score the ones not registered or known to be unsellable, using rankingQuery. Results come only when the response sets X-Spacefast-Domain-Results: enriched. Omit this field to receive only suggestions and the reply.

Show properties
rankingQuerystringrequired
min length 1 · max length 12000
Responses
200

Newline-delimited JSON suggestion, done and error events, plus availability, score and skipped events when enrichment is confirmed.

One of:
object
typestringrequired
suggestionobjectrequired
Show properties
domainstringrequired
max length 253
reasonstringrequired
min length 1 · max length 2000
scorenumberrequired
min 0 · max 100
object
typestringrequired
replyobjectrequired
Show properties
messagestringrequired
min length 1 · max length 12000
suggestionsobject[]required
max items 12
Show properties
Array of object
domainstringrequired
max length 253
reasonstringrequired
min length 1 · max length 2000
scorenumberrequired
min 0 · max 100
rankedDomainsstring[]required
max items 212
modelstringrequired
min length 1 · max length 100
object
typestringrequired
errorobjectrequired
Show properties
codestringrequired
messagestringrequired
object
typestringrequired
availabilityobjectrequired
Show properties
domainstringrequired
max length 253
statusstringrequired
Allowed:unregisteredregisteredunknown
checkedAtstring<date-time>
matches ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
sellableboolean
priceobject | null
Show properties
Any of:
object
amountnumberrequired
min 0
formattedstringrequired
max length 40
currencystringrequired
min length 1 · max length 8
null
null
sourcestring
Allowed:dsapirdaplocal
object
typestringrequired
scoreobjectrequired
Show properties
scorenumberrequired
min 0 · max 4
confidencenumberrequired
min 0 · max 1
domainstringrequired
max length 253
object
typestringrequired
skippedobjectrequired
Show properties
domainstringrequired
max length 253
stagestringrequired
Allowed:availabilityranking
codestringrequired
min length 1
retryAfterSecondsnumber
min 0
default

Problem details (RFC 9457). Any 4xx/5xx response is one application/problem+json document.

$schemastring<uri>

Canonical JSON Schema URL for this response body. The server also sends it in the Link: rel="describedby" response header.

typestringrequired

Problem type URI resolving to the error docs page. The server derives it mechanically from code against the docs origin.

titlestringrequired

Short human-readable summary of the problem type. The server derives it mechanically from code.

statusintegerrequired

HTTP status code of this response, repeated in the body.

min -9007199254740991 · max 9007199254740991
detailstringrequired

Human-readable failure explanation for this occurrence.

codestringrequired

Stable snake_case error code naming the failed public contract.

pointerstring

RFC 6901 JSON Pointer into the failing request field, for example "/files/37/path", on validation failures.

detailsobject

Machine-readable context for the error code.

fixstring

One sentence on what to do about this error code, the same text as the type page. Read it before retrying.

suggestionsstring[]

Actionable recovery steps safe to show in dashboards, SDKs, and CLI output.

nextstring[]

Copy-pasteable commands or API requests an agent can run next.

requestIdstringrequired

The request id to quote when contacting support.

Try it
Server
Authorization (optional)
Bodyapplication/json
Request
curl -X POST 'https://api.spacefast.com/v1/domains/research/conversation' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/problem+json' \
  -H 'Content-Type: application/json' \
  -d '{
  "teamId": "string",
  "phase": "initial",
  "automatic": true,
  "poolPolicy": "ranked-available",
  "messages": [
    {
      "role": "user",
      "content": "string"
    }
  ],
  "suggestions": [
    {
      "domain": "string",
      "reason": "string",
      "score": 0,
      "id": "string",
      "number": 1,
      "selected": true,
      "taste": "neutral",
      "availability": "unchecked",
      "sellable": true,
      "jev": {
        "score": 0,
        "confidence": 0
      },
      "retired": true,
      "source": "instant",
      "hideDescription": true
    }
  ],
  "analytics": {
    "sessionId": "f6567dd8-e069-418e-8893-7d22fcf12459",
    "traceId": "729bb1bf-882d-483b-89d3-5855dc5af3aa",
    "anonymousId": "string",
    "path": "string"
  },
  "enrich": {
    "rankingQuery": "string"
  }
}'
Response
{
  "type": "suggestion",
  "suggestion": {
    "domain": "string",
    "reason": "string",
    "score": 0
  }
}