Skip to content

List an item's references

GET
/api/v1/rfps/{rfp_id}/rfp_items/{id}/references

Every reference the retrieval step surfaced, most relevant first. Not paginated. A reference with cited_text set was quoted in the answer.

NameType
rfp_id
required
string
Example
rfp_1a2b

The RFP’s prefixed ID

id
required
string

The record’s prefixed ID

200

References

Response body
Media typeapplication/json
object
references
Array<object>

As Reference, but source passages carry no page or section detail

object
id
integer

Numeric database ID

reference_type
string
Allowed values: KnowledgeBaseItem Embedding
reference_id
integer

Numeric database ID of the referenced record

relevance_score
number | null
<= 1
relevance_as_words
string
Allowed values: Excellent Very good Good Ok Low
distance
number | null

Vector distance from the question

search_method
string | null
Allowed values: vector keyword hybrid
cited_text
string | null

The passage quoted in the answer, when it was used

created_at
string format: date-time
reference
One of:

Present when reference_type is KnowledgeBaseItem

object
id
string
web_link
string format: uri
question
string
answer
string | null
state
string
Allowed values: new ready_to_answer applicability_checked references_fetched needs_input auto_answered approved

404

No such record in this account

Response body
Media typeapplication/json
object
error
object
code
string

A stable machine-readable code

message
string
details
Array<string>

Present on validation errors; one entry per failed validation