Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Retrieve the list of formulas

Get formulas

get

Returns formulas

Query parameters
pageIndexnumberOptional

Page index

Example: 0
pageSizenumber · max: 100Optional

Page size

Example: 10
orderFieldstringOptional

Order field

Example: consensusTimestamp
orderDirstringOptional

Order direction

Example: {"value":"ASC","description":"Ascending ordering"}
keywordsstringOptional

Keywords to search

Example: {"description":"Search formulas, which are related to specific topic identifier","value":"[\"0.0.1960\"]"}
topicIdstringOptional

Policy topic identifier

Example: 0.0.1960
options.ownerstringOptional

formula owner

Example: did:hedera:testnet:8Go53QCUXZ4nzSQMyoWovWCxseogGTMLDiHg14Fkz4VN_0.0.4481265
Responses
200

formulas

application/json
pageIndexnumberRequired

Page index

Example: 0
pageSizenumberRequired

Page size

Example: 10
totalnumberRequired

Total size

Example: 100
orderobjectRequired

Order

get/entities/formulas
GET /api/v1/entities/formulas HTTP/1.1
Accept: */*
{
  "pageIndex": "0",
  "pageSize": "10",
  "total": "100",
  "order": {},
  "items": [
    {
      "id": "667c240639282050117a1985",
      "topicId": "0.0.4481265",
      "consensusTimestamp": "1706823227.586179534",
      "owner": "0.0.1",
      "uuid": "93938a10-d032-4a9b-9425-092e58bffbf7",
      "status": "NEW",
      "statusReason": "Revoked",
      "lang": "en-US",
      "responseType": "str",
      "statusMessage": "text",
      "files": [
        "QmYtKEVfpbDwn7XLHjnjap224ESi3vLiYpkbWoabnxs6cX"
      ],
      "topics": [
        "0.0.4481265"
      ],
      "tokens": [
        "0.0.4481265"
      ],
      "sequenceNumber": 0,
      "type": "Formula",
      "action": "publish-formula",
      "options": {
        "uuid": "93938a10-d032-4a9b-9425-092e58bffbf7",
        "name": "Formula Name",
        "description": "Formula Description",
        "owner": "did:hedera:testnet:8Go53QCUXZ4nzSQMyoWovWCxseogGTMLDiHg14Fkz4VN_0.0.4481265",
        "policyTopicId": "0.0.4481265",
        "policyInstanceTopicId": "0.0.4481265"
      },
      "analytics": {
        "textSearch": "text",
        "owner": "did:hedera:testnet:8Go53QCUXZ4nzSQMyoWovWCxseogGTMLDiHg14Fkz4VN_0.0.4481265",
        "config": {}
      }
    }
  ]
}

Was this helpful?