# API & Programming

**URL:** https://community.fibery.io/c/api-programming/10.md?page=3

[Latest](https://community.fibery.io/latest.md) · [Categories](https://community.fibery.io/categories.md) · [Tags](https://community.fibery.io/tags.md)

**Page:** 4

---

## [Not being able to do simple script (I'm a newbie)](https://community.fibery.io/t/not-being-able-to-do-simple-script-im-a-newbie/4930)

<div class="topic-metadata">

**Author:** [@Mateus\_Zuliani](https://community.fibery.io/u/Mateus_Zuliani)\
**Replies:** 3\
**Last updated:** [August 8, 2023, 9:27pm UTC](https://community.fibery.io/t/not-being-able-to-do-simple-script-im-a-newbie/4930 "2023-08-08T21:27:18Z")

</div>

I’m trying to run this to delete all entities in a database inside a space: const fibery = context.getService('fibery'); for (const entity of args.currentEntities) { await fibery.deleteEntity(entity.id, entity.id)…

---

## [How to send a file from Fibery through the API to another service and write the response back to Fibery](https://community.fibery.io/t/how-to-send-a-file-from-fibery-through-the-api-to-another-service-and-write-the-response-back-to-fibery/4905)

<div class="topic-metadata">

**Author:** [@AlexH](https://community.fibery.io/u/AlexH)\
**Replies:** 11\
**Last updated:** [August 8, 2023, 3:35pm UTC](https://community.fibery.io/t/how-to-send-a-file-from-fibery-through-the-api-to-another-service-and-write-the-response-back-to-fibery/4905 "2023-08-08T15:35:31Z")

</div>

Hello, I’m trying to integrate Fibery with another service through the API. I have working script that creates a driver with name from entity: const http = context.getService("http"); const fibery = context.getService…

---

## [Null database not found](https://community.fibery.io/t/null-database-not-found/4890)

<div class="topic-metadata">

**Author:** [@Gurcan\_Unsal](https://community.fibery.io/u/Gurcan_Unsal)\
**Replies:** 4\
**Last updated:** [August 2, 2023, 2:24pm UTC](https://community.fibery.io/t/null-database-not-found/4890 "2023-08-02T14:24:18Z")

</div>

I am working with fibery API. When i update an entity in the fibery, i want to receive it via API. I got an error like this: Error: { “name”: “entity.error/schema-type-not-found”, “message”: “null database was not fou…

---

## [Need help managing tokens via API](https://community.fibery.io/t/need-help-managing-tokens-via-api/4858)

<div class="topic-metadata">

**Author:** [@dave.haley](https://community.fibery.io/u/dave.haley)\
**Replies:** 1\
**Last updated:** [July 30, 2023, 6:04am UTC](https://community.fibery.io/t/need-help-managing-tokens-via-api/4858 "2023-07-30T06:04:15Z")

</div>

I have an application that pulls data from our Fibery database, I would like to rotate the API token on a regular basis and would prefer to do this via the API rather than the web interface. I have found the endpoints t…

---

## [Failed to execute Action "Script": Unable to complete execution because CPU limit of 1000 ms exceeded](https://community.fibery.io/t/failed-to-execute-action-script-unable-to-complete-execution-because-cpu-limit-of-1000-ms-exceeded/4747)

<div class="topic-metadata">

**Author:** [@Ooker](https://community.fibery.io/u/Ooker)\
**Replies:** 2\
**Last updated:** [July 17, 2023, 2:33pm UTC](https://community.fibery.io/t/failed-to-execute-action-script-unable-to-complete-execution-because-cpu-limit-of-1000-ms-exceeded/4747 "2023-07-17T14:33:19Z")

</div>

I run a script and I get: Failed to execute Action “Script”: Unable to complete execution because CPU limit of 1000 ms exceeded Is there a way to get more runtime? Here is the script: https://github.com/QuaCau-TheSp…

---

## [Questions about the integration API webhook endpoints](https://community.fibery.io/t/questions-about-the-integration-api-webhook-endpoints/3969)

<div class="topic-metadata">

**Author:** [@oooooreona](https://community.fibery.io/u/oooooreona)\
**Replies:** 11\
**Last updated:** [July 11, 2023, 3:57pm UTC](https://community.fibery.io/t/questions-about-the-integration-api-webhook-endpoints/3969 "2023-07-11T15:57:41Z")

</div>

I am currently working on a personal development of an integration between Todoist and Fibery. I was able to implement synchronizing Todoist information to Fibery by referring to the document and sample repository. How…

---

## [Problem: Different field name in Fibery API depending on the database](https://community.fibery.io/t/problem-different-field-name-in-fibery-api-depending-on-the-database/4735)

<div class="topic-metadata">

**Author:** [@Maximich](https://community.fibery.io/u/Maximich)\
**Replies:** 1\
**Last updated:** [July 6, 2023, 10:12am UTC](https://community.fibery.io/t/problem-different-field-name-in-fibery-api-depending-on-the-database/4735 "2023-07-06T10:12:52Z")

</div>

I am using JS Fibery API (https://api.fibery.io/) to create an entity (i.e. Feature or Bug). I use this piece of code to create an entity: const entity = await fibery.entity.createBatch(\[ { 'type': \`${fi…

---

## [Why is \`entity\['Name'\]\` get \`null\`?](https://community.fibery.io/t/why-is-entity-name-get-null/4711)

<div class="topic-metadata">

**Author:** [@Ooker](https://community.fibery.io/u/Ooker)\
**Replies:** 8\
**Last updated:** [July 4, 2023, 8:14am UTC](https://community.fibery.io/t/why-is-entity-name-get-null/4711 "2023-07-04T08:14:33Z")

</div>

Script 1 const fibery = context.getService('fibery'); console.log(args.currentEntities) for (const entity of args.currentEntities) { const name = entity\['Name'\]; const creationDate = entity\['Creation Date'\]; …

---

## [API Key Permissions](https://community.fibery.io/t/api-key-permissions/4504)

<div class="topic-metadata">

**Author:** [@cannibalflea](https://community.fibery.io/u/cannibalflea)\
**Replies:** 1\
**Last updated:** [May 25, 2023, 11:38am UTC](https://community.fibery.io/t/api-key-permissions/4504 "2023-05-25T11:38:31Z")

</div>

I was wondering if there are any plans to allow admins to limit the scope of API actions that can be performed through a particular API key. I was thinking it might be helpful to be able to create a key that only allows …

---

## [Trouble with GET in script](https://community.fibery.io/t/trouble-with-get-in-script/4428)

<div class="topic-metadata">

**Author:** [@Sarah\_Arminta](https://community.fibery.io/u/Sarah_Arminta)\
**Replies:** 3\
**Last updated:** [May 8, 2023, 8:49pm UTC](https://community.fibery.io/t/trouble-with-get-in-script/4428 "2023-05-08T20:49:55Z")

</div>

I’m dipping my toe into scripting in automations and I’m having trouble with a simple script. I can’t seem to get a response even though the script works fine in postman. What am I doing wrong? const http = context.getS…

---

## [Script equivalent of the "Convert to" feature?](https://community.fibery.io/t/script-equivalent-of-the-convert-to-feature/2296)

<div class="topic-metadata">

**Author:** [@Dimitri\_S](https://community.fibery.io/u/Dimitri_S)\
**Replies:** 4\
**Last updated:** [May 2, 2023, 9:03pm UTC](https://community.fibery.io/t/script-equivalent-of-the-convert-to-feature/2296 "2023-05-02T21:03:53Z")

</div>

I have an entity in one Space I want to move to another, would use the Convert to feature but some of the field names may not match. In its simplest form I want to copy a few simple fields (Name and Salary) from an enti…

---

## [Can I create a dynamic date filter that prompts user to select a pre-determined date range?](https://community.fibery.io/t/can-i-create-a-dynamic-date-filter-that-prompts-user-to-select-a-pre-determined-date-range/2357)

<div class="topic-metadata">

**Author:** [@masp](https://community.fibery.io/u/masp)\
**Replies:** 15\
**Last updated:** [May 1, 2023, 9:50am UTC](https://community.fibery.io/t/can-i-create-a-dynamic-date-filter-that-prompts-user-to-select-a-pre-determined-date-range/2357 "2023-05-01T09:50:39Z")

</div>

I’m trying to generate weekly status reports from my project management app: it works, but I had to hard-code the date range for each week into a distinct view: so I have 52 views (for 2022), each of which hard-coded wit…

---

## [Whats the best way to count the number of records in a database?](https://community.fibery.io/t/whats-the-best-way-to-count-the-number-of-records-in-a-database/4374)

<div class="topic-metadata">

**Author:** [@helloitse](https://community.fibery.io/u/helloitse)\
**Replies:** 0\
**Last updated:** [April 25, 2023, 8:58pm UTC](https://community.fibery.io/t/whats-the-best-way-to-count-the-number-of-records-in-a-database/4374 "2023-04-25T20:58:26Z")

</div>

Periodically, I sync a large database from Fibery to another platform. I do this in batches of 500 records. Right now, I send the same query that use to retrieve the record details in a batch of 500 with the q\\no-limit …

---

## [This formula is disabled](https://community.fibery.io/t/this-formula-is-disabled/4371)

<div class="topic-metadata">

**Author:** [@DiegoKamp](https://community.fibery.io/u/DiegoKamp)\
**Replies:** 2\
**Last updated:** [April 25, 2023, 4:16pm UTC](https://community.fibery.io/t/this-formula-is-disabled/4371 "2023-04-25T16:16:23Z")

</div>

Why did you disable this recursive formula to generate the path of a hierarchy?’ Notion e Coda support this function very well. Alternatively how do I create the path of a hierarchy without a recursive formula? T…

---

## [Process Automation](https://community.fibery.io/t/process-automation/4349)

<div class="topic-metadata">

**Author:** [@JuliusG](https://community.fibery.io/u/JuliusG)\
**Replies:** 1\
**Last updated:** [April 20, 2023, 10:24pm UTC](https://community.fibery.io/t/process-automation/4349 "2023-04-20T22:24:03Z")

</div>

Here’s a demo of ProcessKit. I am currently trying to hack and build it in Fibery. I was able to mimic some of it by using Relations but I was stuck on the part where I need to duplicate entities which wi…

---

## [Are rich text arguments supported for external action integrations?](https://community.fibery.io/t/are-rich-text-arguments-supported-for-external-action-integrations/4189)

<div class="topic-metadata">

**Author:** [@seaotternerd](https://community.fibery.io/u/seaotternerd)\
**Replies:** 2\
**Last updated:** [April 1, 2023, 8:17pm UTC](https://community.fibery.io/t/are-rich-text-arguments-supported-for-external-action-integrations/4189 "2023-04-01T20:17:24Z")

</div>

The external action integrations documentation says that arguments can either have type “text” or type “textArea.” I assume “textArea” is for rich text fields. When I try to make an argument with an argument of type text…

---

## [Integration API error: "There is no field with type 'Name'"](https://community.fibery.io/t/integration-api-error-there-is-no-field-with-type-name/4190)

<div class="topic-metadata">

**Author:** [@Matt\_Blais](https://community.fibery.io/u/Matt_Blais)\
**Replies:** 2\
**Last updated:** [March 30, 2023, 6:29pm UTC](https://community.fibery.io/t/integration-api-error-there-is-no-field-with-type-name/4190 "2023-03-30T18:29:20Z")

</div>

I can’t find any reference in the Integrations API docs to a “Name” type – What does this mean?

---

## [Questions about the integrations API](https://community.fibery.io/t/questions-about-the-integrations-api/3686)

<div class="topic-metadata">

**Author:** [@seaotternerd](https://community.fibery.io/u/seaotternerd)\
**Replies:** 2\
**Last updated:** [March 26, 2023, 11:48pm UTC](https://community.fibery.io/t/questions-about-the-integrations-api/3686 "2023-03-26T23:48:10Z")

</div>

Hi, I’m working on an integration using the integrations API (a new and improved version of my fairly janky Python script for syncing Zotero to Fibery), and I’ve got a couple questions: On the Fibery web interface, t…

---

## [How to access type: ID fields?](https://community.fibery.io/t/how-to-access-type-id-fields/4150)

<div class="topic-metadata">

**Author:** [@tpaktop](https://community.fibery.io/u/tpaktop)\
**Replies:** 1\
**Last updated:** [March 20, 2023, 7:02am UTC](https://community.fibery.io/t/how-to-access-type-id-fields/4150 "2023-03-20T07:02:10Z")

</div>

Hey Fibery Team, I’m wondering what should I do about ID fields supplied by external system? I tried to give them to fibery as ID field in schema: id: { description: "Id", type: "ID", name: "Id", }, Howe…

---

## [Organization Level Token](https://community.fibery.io/t/organization-level-token/4122)

<div class="topic-metadata">

**Author:** [@Itay\_Leybovich](https://community.fibery.io/u/Itay_Leybovich)\
**Replies:** 3\
**Last updated:** [March 15, 2023, 9:36pm UTC](https://community.fibery.io/t/organization-level-token/4122 "2023-03-15T21:36:10Z")

</div>

Hello, I’m writing a piece of code as part of my organizations CI/CD process that finds tasks and updates their state dynamically. As I am in a testing phase I am using my personal user token, so any changes made to ta…

---

## [External action integration setup is broken?](https://community.fibery.io/t/external-action-integration-setup-is-broken/3846)

<div class="topic-metadata">

**Author:** [@tpaktop](https://community.fibery.io/u/tpaktop)\
**Replies:** 10\
**Last updated:** [February 21, 2023, 2:07pm UTC](https://community.fibery.io/t/external-action-integration-setup-is-broken/3846 "2023-02-21T14:07:25Z")

</div>

Would be great to have some example of how to create external action integration. I have tried to create an external action integration and after adding it I get stuck on this screen: There are no errors and I’m kin…

---

## [How To Import Time Entries from Toggl Track?](https://community.fibery.io/t/how-to-import-time-entries-from-toggl-track/1146)

<div class="topic-metadata">

**Author:** [@aprotasenya](https://community.fibery.io/u/aprotasenya)\
**Replies:** 30\
**Last updated:** [February 21, 2023, 4:30am UTC](https://community.fibery.io/t/how-to-import-time-entries-from-toggl-track/1146 "2023-02-21T04:30:47Z")

</div>

Hi, everyone! I’m trying to build a link between Fibery and Toggl Track. This task splits into two stages: Start a new Toggl time entry from a Fibery entity (tasks, mainly). That’s covered by a “Toggl Button” Chrome …

---

## [GraphQL Introspection URL?](https://community.fibery.io/t/graphql-introspection-url/4013)

<div class="topic-metadata">

**Author:** [@ejlbraem](https://community.fibery.io/u/ejlbraem)\
**Replies:** 1\
**Last updated:** [February 18, 2023, 12:19pm UTC](https://community.fibery.io/t/graphql-introspection-url/4013 "2023-02-18T12:19:13Z")

</div>

Hi all, I want to connect Fibery to a GraphQL mesh. In order for the api to mesh, it needs the introspection url to resolve the schema. Has introspection been disabled? Is there any way I can have access to it for my…

---

## [Integration App - How to create a filter with dropdown selection?](https://community.fibery.io/t/integration-app-how-to-create-a-filter-with-dropdown-selection/3981)

<div class="topic-metadata">

**Author:** [@tpaktop](https://community.fibery.io/u/tpaktop)\
**Replies:** 3\
**Last updated:** [February 15, 2023, 2:56pm UTC](https://community.fibery.io/t/integration-app-how-to-create-a-filter-with-dropdown-selection/3981 "2023-02-15T14:56:00Z")

</div>

I can’t seem to find an example or documentation about it in the api docs. I was trying to guess which field to put into filter to make it see it as list of options without much luck. { id: "workspace\_id", …

---

## [Token Management / InfoSec](https://community.fibery.io/t/token-management-infosec/3897)

<div class="topic-metadata">

**Author:** [@Rob\_Howarth](https://community.fibery.io/u/Rob_Howarth)\
**Replies:** 0\
**Last updated:** [February 1, 2023, 4:03pm UTC](https://community.fibery.io/t/token-management-infosec/3897 "2023-02-01T16:03:52Z")

</div>

Hi, we’re trying to combine data from our Fibery from other sources (eg log data) for some analysis tasks. We’re struggling to find a way to manage the API tokens that aligns with how we want to secure access. We have …

---

## [⚙️ Help: Custom App Limitations?](https://community.fibery.io/t/help-custom-app-limitations/3754)

<div class="topic-metadata">

**Author:** [@Illusory](https://community.fibery.io/u/Illusory)\
**Replies:** 3\
**Last updated:** [January 3, 2023, 2:56pm UTC](https://community.fibery.io/t/help-custom-app-limitations/3754 "2023-01-03T14:56:15Z")

</div>

Hello! Long time fibery user :wave: Sent to support but figured I’d post here to see if anyone already knows and potentially provide clarity on this topic to for others in the future. Since Fibery doesn’t offer databas…

---

## [Create view via API?](https://community.fibery.io/t/create-view-via-api/3555)

<div class="topic-metadata">

**Author:** [@avi](https://community.fibery.io/u/avi)\
**Replies:** 4\
**Last updated:** [November 28, 2022, 5:48pm UTC](https://community.fibery.io/t/create-view-via-api/3555 "2022-11-28T17:48:08Z")

</div>

Is it possible to create a view via the API? I don’t see anything in the docs…

---

## [Examples or guides for creating types, fields, relations?](https://community.fibery.io/t/examples-or-guides-for-creating-types-fields-relations/3491)

<div class="topic-metadata">

**Author:** [@avi](https://community.fibery.io/u/avi)\
**Replies:** 11\
**Last updated:** [November 18, 2022, 3:26pm UTC](https://community.fibery.io/t/examples-or-guides-for-creating-types-fields-relations/3491 "2022-11-18T15:26:42Z")

</div>

Hi, I’d like to try to programmatically create an entire schema “from scratch” via the API. Browsing the API docs, I think I understand how to create types, but I don’t quite understand how to create relations between ty…

---

## [Developing an Automatic Scheduling script](https://community.fibery.io/t/developing-an-automatic-scheduling-script/3439)

<div class="topic-metadata">

**Author:** [@Monnes](https://community.fibery.io/u/Monnes)\
**Replies:** 3\
**Last updated:** [October 25, 2022, 6:18pm UTC](https://community.fibery.io/t/developing-an-automatic-scheduling-script/3439 "2022-10-25T18:18:44Z")

</div>

I know this is really common for scheduling employees, but I’m looking to auto-schedule tasks based off: deadlines priority values on tasks available time fixed time blocks I consider myself quite familiar with python…

---

## [How to access data stored in enum/name via query](https://community.fibery.io/t/how-to-access-data-stored-in-enum-name-via-query/3325)

<div class="topic-metadata">

**Author:** [@Nicolas](https://community.fibery.io/u/Nicolas)\
**Replies:** 7\
**Last updated:** [September 23, 2022, 5:01pm UTC](https://community.fibery.io/t/how-to-access-data-stored-in-enum-name-via-query/3325 "2022-09-23T17:01:52Z")

</div>

I’m stuck with the syntax to access necessary to access data in an enum/name lookup type. Below is an example of the a query. const assessments = await fibery.executeSingleCommand({ "command": "fibery.entit…

[Previous page](https://community.fibery.io/c/api-programming/10.md?page=2)

[Next page](https://community.fibery.io/c/api-programming/10.md?page=4)
